From 254910d3ce34c954551a0827aa8727d6367f48f3 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 17 Nov 2014 16:42:30 -0600 Subject: Begin copying wiki command list here * Sort by command objects * Drop the comparison to the project CLIs * Minor updates to command help to match docs Initially include the cross-API commands to establish the structure and format. Change-Id: I77a7b3c89e088b66aa62941e29ce0b65b532285b --- openstackclient/common/extension.py | 12 ++++++------ openstackclient/common/quota.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'openstackclient/common') diff --git a/openstackclient/common/extension.py b/openstackclient/common/extension.py index be7426da..dad7ed62 100644 --- a/openstackclient/common/extension.py +++ b/openstackclient/common/extension.py @@ -24,7 +24,7 @@ from openstackclient.common import utils class ListExtension(lister.Lister): - """List extension command""" + """List API extensions""" log = logging.getLogger(__name__ + '.ListExtension') @@ -40,11 +40,6 @@ class ListExtension(lister.Lister): action='store_true', default=False, help='List extensions for the Identity API') - parser.add_argument( - '--long', - action='store_true', - default=False, - help='List additional fields in output') parser.add_argument( '--network', action='store_true', @@ -55,6 +50,11 @@ class ListExtension(lister.Lister): action='store_true', default=False, help='List extensions for the Volume API') + parser.add_argument( + '--long', + action='store_true', + default=False, + help='List additional fields in output') return parser def take_action(self, parsed_args): diff --git a/openstackclient/common/quota.py b/openstackclient/common/quota.py index e011fd36..edf4ffdb 100644 --- a/openstackclient/common/quota.py +++ b/openstackclient/common/quota.py @@ -72,7 +72,7 @@ class SetQuota(command.Command): COMPUTE_QUOTAS.items(), VOLUME_QUOTAS.items()): parser.add_argument( '--%s' % v, - metavar='' % v, + metavar='<%s>' % v, type=int, help='New value for the %s quota' % v, ) -- cgit v1.2.1