diff options
author | zwei <leidong@unitedstack.com> | 2016-03-17 18:35:08 +0800 |
---|---|---|
committer | Stuart McLaren <stuart.mclaren@hp.com> | 2016-03-30 12:37:28 +0000 |
commit | 444ffbeaa9c110b2bd79b93800bd9a24b38bb725 (patch) | |
tree | 25bac32ccebd9bda32ad14b7ede5a39564d6cb89 /glanceclient/shell.py | |
parent | 22a03fd475d1807dee41b24291862f1bdc361273 (diff) | |
download | python-glanceclient-444ffbeaa9c110b2bd79b93800bd9a24b38bb725.tar.gz |
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
Diffstat (limited to 'glanceclient/shell.py')
-rwxr-xr-x | glanceclient/shell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glanceclient/shell.py b/glanceclient/shell.py index 86e6107..10b22de 100755 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -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 |