dont add help to 2 parsers

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2013-08-29 23:28:15 +02:00
parent 02476073aa
commit f5aad522cc

View file

@ -92,7 +92,7 @@ def commandline():
parser['shell'].set_defaults(func=cdist.shell.Shell.commandline) parser['shell'].set_defaults(func=cdist.shell.Shell.commandline)
# Install # Install
parser['install'] = parser['sub'].add_parser('install', parser['install'] = parser['sub'].add_parser('install', add_help=False,
parents=[parser['loglevel'], parser['config']]) parents=[parser['loglevel'], parser['config']])
parser['install'].set_defaults(func=cdist.install.Install.commandline) parser['install'].set_defaults(func=cdist.install.Install.commandline)