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:
Pierre Prinetti 2019-10-03 15:53:39 +02:00
parent f1d742f32a
commit 61ad83b575
No known key found for this signature in database
GPG Key ID: F8360C8220AA1958
2 changed files with 13 additions and 3 deletions
doc/source/cli/command-objects
openstackclient/common

@ -17,6 +17,7 @@ Show service versions:
[--interface <interface>]
[--region-name <region-name>]
[--service <service>]
[--status <status>]
.. option:: --all-interfaces
@ -30,7 +31,7 @@ Show service versions:
.. 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>
@ -38,4 +39,13 @@ Show service versions:
an exact match to what is in the catalog or a known official value or
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/

@ -45,12 +45,12 @@ class ShowVersions(command.Lister):
)
parser.add_argument(
'--service',
metavar='<region_name>',
metavar='<service>',
help=_('Show versions for a specific service.'),
)
parser.add_argument(
'--status',
metavar='<region_name>',
metavar='<status>',
help=_('Show versions for a specific status.'
' [Valid values are SUPPORTED, CURRENT,'
' DEPRECATED, EXPERIMENTAL]'),