alphabetical order ftw

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2017-06-27 17:47:30 +02:00
parent 93ccf925cd
commit 9cee230ef5

View file

@ -169,14 +169,14 @@ def get_parsers():
'-p', '--parallel', '-p', '--parallel',
help='operate on multiple hosts in parallel', help='operate on multiple hosts in parallel',
action='store_true', dest='parallel') action='store_true', dest='parallel')
parser['config_args'].add_argument(
'-s', '--sequential',
help='operate on multiple hosts sequentially (default)',
action='store_false', dest='parallel')
parser['config_args'].add_argument( parser['config_args'].add_argument(
'-r', '--remote-out-dir', '-r', '--remote-out-dir',
help='Directory to save cdist output in on the target host', help='Directory to save cdist output in on the target host',
dest="remote_out_path") dest="remote_out_path")
parser['config_args'].add_argument(
'-s', '--sequential',
help='operate on multiple hosts sequentially (default)',
action='store_false', dest='parallel')
parser['config'] = parser['sub'].add_parser( parser['config'] = parser['sub'].add_parser(
'config', parents=[parser['loglevel'], parser['beta'], 'config', parents=[parser['loglevel'], parser['beta'],
parser['config_main'], parser['config_main'],