1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

minor option consistency

This commit is contained in:
Michael DeHaan 2012-02-28 02:41:32 -05:00
parent ab17f6f44e
commit 430f38d54c
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ def main(args):
parser.usage = "ans-playbook playbook.yml ..." parser.usage = "ans-playbook playbook.yml ..."
parser.add_option('-f','--forks', dest='forks', default=C.DEFAULT_FORKS, type='int', parser.add_option('-f','--forks', dest='forks', default=C.DEFAULT_FORKS, type='int',
help='set the number of forks to start up') help='set the number of forks to start up')
parser.add_option("-L", "--library", dest="module_path", parser.add_option("-m", "--module-path", dest="module_path",
help="path to module library", default=C.DEFAULT_MODULE_PATH) help="path to module library", default=C.DEFAULT_MODULE_PATH)
options, args = parser.parse_args(args) options, args = parser.parse_args(args)

View file

@ -28,7 +28,7 @@ def base_ans_parser():
dest='remote_user', help='set the default username') dest='remote_user', help='set the default username')
parser.add_option("-p", "--pattern", dest="pattern", parser.add_option("-p", "--pattern", dest="pattern",
help="hostname pattern", default=C.DEFAULT_PATTERN) help="hostname pattern", default=C.DEFAULT_PATTERN)
parser.add_option("-k", "--askpass", default=False, action="store_true", parser.add_option("-k", "--ask-pass", default=False, action="store_true",
help="ask the user to input the ssh password for connecting") help="ask the user to input the ssh password for connecting")
parser.add_option('-f','--forks', dest='forks', default=C.DEFAULT_FORKS, type='int', parser.add_option('-f','--forks', dest='forks', default=C.DEFAULT_FORKS, type='int',
help='set the number of forks to start up') help='set the number of forks to start up')