Skip to content

Commit 9da02d1

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "fix endpoint show help"
2 parents 0ff7d6d + 9e9e4e6 commit 9da02d1

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

doc/source/command-objects/endpoint.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ Display endpoint details
188188
.. code:: bash
189189
190190
os endpoint show
191-
<endpoint-id>
191+
<endpoint>
192192
193193
.. _endpoint_show-endpoint:
194-
.. describe:: <endpoint-id>
194+
.. describe:: <endpoint>
195195

196-
Endpoint ID to display
196+
Endpoint to display (endpoint ID, service ID, service name, service type)

openstackclient/identity/v2_0/endpoint.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ def get_parser(self, prog_name):
129129
parser = super(ShowEndpoint, self).get_parser(prog_name)
130130
parser.add_argument(
131131
'endpoint_or_service',
132-
metavar='<endpoint-id>',
133-
help=_('Endpoint ID to display'),
132+
metavar='<endpoint>',
133+
help=_('Endpoint to display (endpoint ID, service ID,'
134+
' service name, service type)'),
134135
)
135136
return parser
136137

0 commit comments

Comments
 (0)