Browse Source

Merge "fix endpoint show help"

changes/68/321968/1
Jenkins 5 years ago
committed by Gerrit Code Review
parent
commit
9da02d14ea
  1. 6
      doc/source/command-objects/endpoint.rst
  2. 5
      openstackclient/identity/v2_0/endpoint.py

6
doc/source/command-objects/endpoint.rst

@ -188,9 +188,9 @@ Display endpoint details
.. code:: bash
os endpoint show
<endpoint-id>
<endpoint>
.. _endpoint_show-endpoint:
.. describe:: <endpoint-id>
.. describe:: <endpoint>
Endpoint ID to display
Endpoint to display (endpoint ID, service ID, service name, service type)

5
openstackclient/identity/v2_0/endpoint.py

@ -129,8 +129,9 @@ class ShowEndpoint(command.ShowOne):
parser = super(ShowEndpoint, self).get_parser(prog_name)
parser.add_argument(
'endpoint_or_service',
metavar='<endpoint-id>',
help=_('Endpoint ID to display'),
metavar='<endpoint>',
help=_('Endpoint to display (endpoint ID, service ID,'
' service name, service type)'),
)
return parser

Loading…
Cancel
Save