mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
small tweaks to --help for hacking/test-module
This commit is contained in:
parent
fc96b88205
commit
738cea9c93
1 changed files with 3 additions and 3 deletions
|
@ -47,12 +47,12 @@ def parse():
|
|||
:return : (options, args)"""
|
||||
parser = optparse.OptionParser()
|
||||
|
||||
parser.usage = "%prog [options] (-h for help)"
|
||||
parser.usage = "%prog -[options] (-h for help)"
|
||||
|
||||
parser.add_option('-m', '--module-path', dest='module_path',
|
||||
help="path of module to execute")
|
||||
help="REQUIRED: full path of module source to execute")
|
||||
parser.add_option('-a', '--args', dest='module_args', default="",
|
||||
help="module arguments")
|
||||
help="module argument string")
|
||||
parser.add_option('-D', '--debugger', dest='debugger',
|
||||
help="path to python debugger (e.g. /usr/bin/pdb)")
|
||||
options, args = parser.parse_args()
|
||||
|
|
Loading…
Reference in a new issue