Fix v2 so that you can see the default help info
you can see the default help informatiion is v2 subcommand information if input glance command Co-Authored-By: Stuart McLaren <stuart.mclaren@hp.com> Closes-bug: #1563649 Change-Id: I7d227f3e68aa555b2e25848618f76df4872af35d
This commit is contained in:
@@ -535,6 +535,7 @@ class OpenStackImagesShell(object):
|
||||
# Handle top-level --help/-h before attempting to parse
|
||||
# a command off the command line
|
||||
if options.help or not argv:
|
||||
parser = _get_subparser(api_version)
|
||||
self.do_help(options, parser=parser)
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user