Merge "fix endpoint show help"
This commit is contained in:
commit
9da02d14ea
@ -188,9 +188,9 @@ Display endpoint details
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
os endpoint show
|
os endpoint show
|
||||||
<endpoint-id>
|
<endpoint>
|
||||||
|
|
||||||
.. _endpoint_show-endpoint:
|
.. _endpoint_show-endpoint:
|
||||||
.. describe:: <endpoint-id>
|
.. describe:: <endpoint>
|
||||||
|
|
||||||
Endpoint ID to display
|
Endpoint to display (endpoint ID, service ID, service name, service type)
|
||||||
|
@ -129,8 +129,9 @@ class ShowEndpoint(command.ShowOne):
|
|||||||
parser = super(ShowEndpoint, self).get_parser(prog_name)
|
parser = super(ShowEndpoint, self).get_parser(prog_name)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'endpoint_or_service',
|
'endpoint_or_service',
|
||||||
metavar='<endpoint-id>',
|
metavar='<endpoint>',
|
||||||
help=_('Endpoint ID to display'),
|
help=_('Endpoint to display (endpoint ID, service ID,'
|
||||||
|
' service name, service type)'),
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user