summaryrefslogtreecommitdiff
path: root/keystoneclient/shell.py
diff options
context:
space:
mode:
authorChristophe Sauthier <christophe.sauthier@objectif-libre.com>2013-04-28 16:00:22 +0200
committerChristophe Sauthier <christophe.sauthier@objectif-libre.com>2013-05-25 18:40:26 +0200
commitb3872e304ac4564294fd1893093174731ef266e4 (patch)
tree07bdf7521f76af80411f60a69dfa8aba5d36f028 /keystoneclient/shell.py
parentfc54b30e58e95fccba27f975fa3da3016630b414 (diff)
downloadpython-keystoneclient-b3872e304ac4564294fd1893093174731ef266e4.tar.gz
Suggestion of a new arguments display in the help, to reflect required ones
Fix bug 1182130 Change-Id: I9823d057aff11e7d90c8098ea31cdbf4d709c39f
Diffstat (limited to 'keystoneclient/shell.py')
-rw-r--r--keystoneclient/shell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py
index b75f9f6..9cc8992 100644
--- a/keystoneclient/shell.py
+++ b/keystoneclient/shell.py
@@ -299,8 +299,9 @@ class OpenStackIdentityShell(object):
subparser.add_argument('-h', '--help', action='help',
help=argparse.SUPPRESS)
self.subcommands[command] = subparser
+ group = subparser.add_argument_group(title='Arguments')
for (args, kwargs) in arguments:
- subparser.add_argument(*args, **kwargs)
+ group.add_argument(*args, **kwargs)
subparser.set_defaults(func=callback)
def main(self, argv):