Fix "endpoint list" help message
OSC support to filter OpenStack endpoints by service type, name and ID, but help message and document don't contain "type" for "--service" option of "endpoint list" command. Change-Id: I5c8bc28e037b4c6f96ec83525a319353f01f256a Closes-Bug: #1666841
This commit is contained in:
parent
62938c02e0
commit
c828216e2b
@ -103,14 +103,14 @@ List endpoints
|
|||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
openstack endpoint list
|
openstack endpoint list
|
||||||
[--service <service]
|
[--service <service>]
|
||||||
[--interface <interface>]
|
[--interface <interface>]
|
||||||
[--region <region-id>]
|
[--region <region-id>]
|
||||||
[--long]
|
[--long]
|
||||||
|
|
||||||
.. option:: --service <service>
|
.. option:: --service <service>
|
||||||
|
|
||||||
Filter by service (name or ID)
|
Filter by service (type, name or ID)
|
||||||
|
|
||||||
*Identity version 3 only*
|
*Identity version 3 only*
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ class ListEndpoint(command.Lister):
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--service',
|
'--service',
|
||||||
metavar='<service>',
|
metavar='<service>',
|
||||||
help=_('Filter by service (name or ID)'),
|
help=_('Filter by service (type, name or ID)'),
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--interface',
|
'--interface',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user