versions: Fix 'versions show' help message
The command `openstack versions show --help` shows a copy-paste nit. Change-Id: I9e4e86429ffd630c566bbdf2929e7995c9b0dbe1 Signed-off-by: Pierre Prinetti <pierreprinetti@redhat.com>
This commit is contained in:
parent
f1d742f32a
commit
61ad83b575
@ -17,6 +17,7 @@ Show service versions:
|
|||||||
[--interface <interface>]
|
[--interface <interface>]
|
||||||
[--region-name <region-name>]
|
[--region-name <region-name>]
|
||||||
[--service <service>]
|
[--service <service>]
|
||||||
|
[--status <status>]
|
||||||
|
|
||||||
.. option:: --all-interfaces
|
.. option:: --all-interfaces
|
||||||
|
|
||||||
@ -30,7 +31,7 @@ Show service versions:
|
|||||||
|
|
||||||
.. option:: --region-name <region-name>
|
.. option:: --region-name <region-name>
|
||||||
|
|
||||||
Limit results to only those from region-name
|
Limit results to only those from a given region.
|
||||||
|
|
||||||
.. option:: --service <service>
|
.. option:: --service <service>
|
||||||
|
|
||||||
@ -38,4 +39,13 @@ Show service versions:
|
|||||||
an exact match to what is in the catalog or a known official value or
|
an exact match to what is in the catalog or a known official value or
|
||||||
alias from `service-types-authority`_.
|
alias from `service-types-authority`_.
|
||||||
|
|
||||||
|
.. option:: --status <status>
|
||||||
|
|
||||||
|
Limit results to only those in the given state. Valid values are:
|
||||||
|
|
||||||
|
- SUPPORTED
|
||||||
|
- CURRENT
|
||||||
|
- DEPRECATED
|
||||||
|
- EXPERIMENTAL
|
||||||
|
|
||||||
.. _service-types-authority: https://service-types.openstack.org/
|
.. _service-types-authority: https://service-types.openstack.org/
|
||||||
|
@ -45,12 +45,12 @@ class ShowVersions(command.Lister):
|
|||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--service',
|
'--service',
|
||||||
metavar='<region_name>',
|
metavar='<service>',
|
||||||
help=_('Show versions for a specific service.'),
|
help=_('Show versions for a specific service.'),
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--status',
|
'--status',
|
||||||
metavar='<region_name>',
|
metavar='<status>',
|
||||||
help=_('Show versions for a specific status.'
|
help=_('Show versions for a specific status.'
|
||||||
' [Valid values are SUPPORTED, CURRENT,'
|
' [Valid values are SUPPORTED, CURRENT,'
|
||||||
' DEPRECATED, EXPERIMENTAL]'),
|
' DEPRECATED, EXPERIMENTAL]'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user