mirror of https://github.com/ansible/ansible.git
Fix trackback on providing arguemnt --all to ansible-doc command (#52034)
* Remove redundant argument from the function caller * Add unit test * Add changelogpull/52888/head
parent
e7cf6b7513
commit
2d4096daf0
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- ansible-doc - Fix traceback on providing arguemnt --all to ansible-doc command
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright: (c) 2019, Ansible Project
|
||||||
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
|
|
||||||
|
from __future__ import (absolute_import, division, print_function)
|
||||||
|
__metaclass__ = type
|
||||||
|
|
||||||
|
from ansible.cli.doc import DocCLI
|
||||||
|
|
||||||
|
|
||||||
|
def test_parsing_all_option():
|
||||||
|
doc_cli = DocCLI(['/n/ansible-doc', '-a'])
|
||||||
|
doc_cli.parse()
|
Loading…
Reference in New Issue