Skip to content

Commit c828216

Browse files
committed
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
1 parent 62938c0 commit c828216

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

doc/source/command-objects/endpoint.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ List endpoints
103103
.. code:: bash
104104
105105
openstack endpoint list
106-
[--service <service]
106+
[--service <service>]
107107
[--interface <interface>]
108108
[--region <region-id>]
109109
[--long]
110110
111111
.. option:: --service <service>
112112

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

115115
*Identity version 3 only*
116116

openstackclient/identity/v3/endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def get_parser(self, prog_name):
139139
parser.add_argument(
140140
'--service',
141141
metavar='<service>',
142-
help=_('Filter by service (name or ID)'),
142+
help=_('Filter by service (type, name or ID)'),
143143
)
144144
parser.add_argument(
145145
'--interface',

0 commit comments

Comments
 (0)