added info about using -i 'hostname,' to usage/help

pull/12911/head
Brian Coca 9 years ago
parent 92dd563a75
commit f3a0adcfa5

@ -233,7 +233,7 @@ class CLI(object):
if inventory_opts:
parser.add_option('-i', '--inventory-file', dest='inventory',
help="specify inventory host file (default=%s)" % C.DEFAULT_HOST_LIST,
help="specify inventory host path (default=%s) or comma separated host list" % C.DEFAULT_HOST_LIST,
default=C.DEFAULT_HOST_LIST, action="callback", callback=CLI.expand_tilde, type=str)
parser.add_option('--list-hosts', dest='listhosts', action='store_true',
help='outputs a list of matching hosts; does not execute anything else')

Loading…
Cancel
Save