summaryrefslogtreecommitdiff
path: root/openstackclient
diff options
context:
space:
mode:
authorsunyajing <yajing.sun@easystack.cn>2016-06-13 19:16:48 +0800
committersunyajing <yajing.sun@easystack.cn>2016-06-16 09:55:10 +0800
commit9eb77ae1def29294881b27b593782edad3d26c96 (patch)
treef25f0560f9f786935f242bd278cd4a153a5ec79f /openstackclient
parent0695d1495e8337149850b8f753c603e7cac1989c (diff)
downloadpython-openstackclient-9eb77ae1def29294881b27b593782edad3d26c96.tar.gz
Fix help msg of identity endpoint
<service> argument of `endpoint create` command doesn't mean `new endpoint service`, but an existent service that the new endpoint attached to. Change-Id: I846fdb501bdea14499f42288186f375a3b2b5951
Diffstat (limited to 'openstackclient')
-rw-r--r--openstackclient/identity/v2_0/endpoint.py4
-rw-r--r--openstackclient/identity/v3/endpoint.py8
2 files changed, 6 insertions, 6 deletions
diff --git a/openstackclient/identity/v2_0/endpoint.py b/openstackclient/identity/v2_0/endpoint.py
index 09ea738f..8065e197 100644
--- a/openstackclient/identity/v2_0/endpoint.py
+++ b/openstackclient/identity/v2_0/endpoint.py
@@ -31,7 +31,7 @@ class CreateEndpoint(command.ShowOne):
parser.add_argument(
'service',
metavar='<service>',
- help=_('New endpoint service (name or ID)'),
+ help=_('Service to be associated with new endpoint (name or ID)'),
)
parser.add_argument(
'--publicurl',
@@ -81,7 +81,7 @@ class DeleteEndpoint(command.Command):
parser.add_argument(
'endpoint',
metavar='<endpoint-id>',
- help=_('Endpoint ID to delete'),
+ help=_('Endpoint to delete (ID only)'),
)
return parser
diff --git a/openstackclient/identity/v3/endpoint.py b/openstackclient/identity/v3/endpoint.py
index 39022d27..6bb73b4d 100644
--- a/openstackclient/identity/v3/endpoint.py
+++ b/openstackclient/identity/v3/endpoint.py
@@ -39,7 +39,7 @@ class CreateEndpoint(command.ShowOne):
parser.add_argument(
'service',
metavar='<service>',
- help=_('New endpoint service (name or ID)'),
+ help=_('Service to be associated with new endpoint (name or ID)'),
)
parser.add_argument(
'interface',
@@ -101,7 +101,7 @@ class DeleteEndpoint(command.Command):
parser.add_argument(
'endpoint',
metavar='<endpoint-id>',
- help=_('Endpoint ID to delete'),
+ help=_('Endpoint to delete (ID only)'),
)
return parser
@@ -120,7 +120,7 @@ class ListEndpoint(command.Lister):
parser.add_argument(
'--service',
metavar='<service>',
- help=_('Filter by service'),
+ help=_('Filter by service (name or ID)'),
)
parser.add_argument(
'--interface',
@@ -168,7 +168,7 @@ class SetEndpoint(command.Command):
parser.add_argument(
'endpoint',
metavar='<endpoint-id>',
- help=_('Endpoint ID to modify'),
+ help=_('Endpoint to modify (ID only)'),
)
parser.add_argument(
'--region',