summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-12-01 22:32:27 +0000
committerGerrit Code Review <review@openstack.org>2014-12-01 22:32:27 +0000
commit17bf9cdf1c64540b30778c30d2721ce5e10e4529 (patch)
tree200b27a3cdc820ea8c51009e2570260cff7cfb10 /openstackclient
parenta2450d85e0dc0cb29172c6477582e6354146a496 (diff)
parent254910d3ce34c954551a0827aa8727d6367f48f3 (diff)
downloadpython-openstackclient-17bf9cdf1c64540b30778c30d2721ce5e10e4529.tar.gz
Merge "Begin copying wiki command list here"
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/common/extension.py12
-rw-r--r--openstackclient/common/quota.py2
-rw-r--r--openstackclient/identity/v2_0/endpoint.py2
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')