Skip to content

Commit b5e524a

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Fix help msg of identity endpoint"
2 parents e7ed403 + 9eb77ae commit b5e524a

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

doc/source/command-objects/endpoint.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Create new endpoint
4040
.. _endpoint_create-endpoint:
4141
.. describe:: <service>
4242

43-
New endpoint service (name or ID)
43+
Service to be associated with new endpoint (name or ID)
4444

4545
*Identity version 3 only*
4646

@@ -68,7 +68,7 @@ Create new endpoint
6868

6969
.. describe:: <service>
7070

71-
New endpoint service (name or ID)
71+
Service to be associated with new endpoint(name or ID)
7272

7373
.. describe:: <interface>
7474

@@ -92,7 +92,7 @@ Delete endpoint
9292
.. _endpoint_delete-endpoint:
9393
.. describe:: <endpoint-id>
9494

95-
Endpoint ID to delete
95+
Endpoint to delete (ID only)
9696

9797
endpoint list
9898
-------------
@@ -110,7 +110,7 @@ List endpoints
110110
111111
.. option:: --service <service>
112112

113-
Filter by service
113+
Filter by service (name or ID)
114114

115115
*Identity version 3 only*
116116

@@ -177,7 +177,7 @@ Set endpoint properties
177177
.. _endpoint_set-endpoint:
178178
.. describe:: <endpoint-id>
179179

180-
Endpoint ID to modify
180+
Endpoint to modify (ID only)
181181

182182
endpoint show
183183
-------------

openstackclient/identity/v2_0/endpoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_parser(self, prog_name):
3131
parser.add_argument(
3232
'service',
3333
metavar='<service>',
34-
help=_('New endpoint service (name or ID)'),
34+
help=_('Service to be associated with new endpoint (name or ID)'),
3535
)
3636
parser.add_argument(
3737
'--publicurl',
@@ -81,7 +81,7 @@ def get_parser(self, prog_name):
8181
parser.add_argument(
8282
'endpoint',
8383
metavar='<endpoint-id>',
84-
help=_('Endpoint ID to delete'),
84+
help=_('Endpoint to delete (ID only)'),
8585
)
8686
return parser
8787

openstackclient/identity/v3/endpoint.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_parser(self, prog_name):
4040
parser.add_argument(
4141
'service',
4242
metavar='<service>',
43-
help=_('New endpoint service (name or ID)'),
43+
help=_('Service to be associated with new endpoint (name or ID)'),
4444
)
4545
parser.add_argument(
4646
'interface',
@@ -102,7 +102,7 @@ def get_parser(self, prog_name):
102102
parser.add_argument(
103103
'endpoint',
104104
metavar='<endpoint-id>',
105-
help=_('Endpoint ID to delete'),
105+
help=_('Endpoint to delete (ID only)'),
106106
)
107107
return parser
108108

@@ -121,7 +121,7 @@ def get_parser(self, prog_name):
121121
parser.add_argument(
122122
'--service',
123123
metavar='<service>',
124-
help=_('Filter by service'),
124+
help=_('Filter by service (name or ID)'),
125125
)
126126
parser.add_argument(
127127
'--interface',
@@ -169,7 +169,7 @@ def get_parser(self, prog_name):
169169
parser.add_argument(
170170
'endpoint',
171171
metavar='<endpoint-id>',
172-
help=_('Endpoint ID to modify'),
172+
help=_('Endpoint to modify (ID only)'),
173173
)
174174
parser.add_argument(
175175
'--region',

0 commit comments

Comments
 (0)