diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-05-25 22:18:10 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-05-25 22:18:10 +0000 |
commit | ef6530de45705c6e31021f8934570d7c48a60b8b (patch) | |
tree | 3b9aaea16f26280a41f536aed0541acad695be0b | |
parent | 17db3b2d17e5aa40e96759b150b3597c6ce5faf4 (diff) | |
parent | b3872e304ac4564294fd1893093174731ef266e4 (diff) | |
download | python-keystoneclient-ef6530de45705c6e31021f8934570d7c48a60b8b.tar.gz |
Merge "Suggestion of a new arguments display in the help, to reflect required ones Fix bug 1182130"
-rw-r--r-- | keystoneclient/shell.py | 3 |
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): |