Merge "Fix v2 so that you can see the default help info"

This commit is contained in:
Jenkins
2016-04-04 22:25:43 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 3 deletions
+1
View File
@@ -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