diff options
| author | Jenkins <jenkins@review.openstack.org> | 2014-12-01 22:32:27 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2014-12-01 22:32:27 +0000 |
| commit | 17bf9cdf1c64540b30778c30d2721ce5e10e4529 (patch) | |
| tree | 200b27a3cdc820ea8c51009e2570260cff7cfb10 /openstackclient | |
| parent | a2450d85e0dc0cb29172c6477582e6354146a496 (diff) | |
| parent | 254910d3ce34c954551a0827aa8727d6367f48f3 (diff) | |
| download | python-openstackclient-17bf9cdf1c64540b30778c30d2721ce5e10e4529.tar.gz | |
Merge "Begin copying wiki command list here"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/common/extension.py | 12 | ||||
| -rw-r--r-- | openstackclient/common/quota.py | 2 | ||||
| -rw-r--r-- | openstackclient/identity/v2_0/endpoint.py | 2 |
3 files changed, 8 insertions, 8 deletions
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') @@ -41,11 +41,6 @@ class ListExtension(lister.Lister): 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', default=False, @@ -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='<new-%s>' % v, + metavar='<%s>' % v, type=int, help='New value for the %s quota' % v, ) diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py index f7d78831..c5189b62 100644 --- a/openstackclient/identity/v2_0/endpoint.py +++ b/openstackclient/identity/v2_0/endpoint.py @@ -28,7 +28,7 @@ from openstackclient.identity import common class CreateEndpoint(show.ShowOne): - """Create endpoint command""" + """Create endpoint""" log = logging.getLogger(__name__ + '.CreateEndpoint') |
