minor option consistency

pull/3/head
Michael DeHaan 13 years ago
parent ab17f6f44e
commit 430f38d54c

@ -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)

@ -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')

Loading…
Cancel
Save