diff options
| author | Dean Troyer <dtroyer@gmail.com> | 2014-11-17 16:42:30 -0600 |
|---|---|---|
| committer | Dean Troyer <dtroyer@gmail.com> | 2014-11-19 14:47:53 -0600 |
| commit | 254910d3ce34c954551a0827aa8727d6367f48f3 (patch) | |
| tree | 4e88edc9f7c7fc63bd6e68725da797c5f3f64e55 /openstackclient | |
| parent | ae00019c646fc4a2c74bbf2d024e31aaccaa545b (diff) | |
| download | python-openstackclient-254910d3ce34c954551a0827aa8727d6367f48f3.tar.gz | |
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
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') |
