Skip to content

Commit 61ad83b

Browse files
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>
1 parent f1d742f commit 61ad83b

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

doc/source/cli/command-objects/versions.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Show service versions:
1717
[--interface <interface>]
1818
[--region-name <region-name>]
1919
[--service <service>]
20+
[--status <status>]
2021
2122
.. option:: --all-interfaces
2223

@@ -30,12 +31,21 @@ Show service versions:
3031

3132
.. option:: --region-name <region-name>
3233

33-
Limit results to only those from region-name
34+
Limit results to only those from a given region.
3435

3536
.. option:: --service <service>
3637

3738
Limit results to only those for service. The argument should be either
3839
an exact match to what is in the catalog or a known official value or
3940
alias from `service-types-authority`_.
4041

42+
.. option:: --status <status>
43+
44+
Limit results to only those in the given state. Valid values are:
45+
46+
- SUPPORTED
47+
- CURRENT
48+
- DEPRECATED
49+
- EXPERIMENTAL
50+
4151
.. _service-types-authority: https://service-types.openstack.org/

openstackclient/common/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ def get_parser(self, prog_name):
4545
)
4646
parser.add_argument(
4747
'--service',
48-
metavar='<region_name>',
48+
metavar='<service>',
4949
help=_('Show versions for a specific service.'),
5050
)
5151
parser.add_argument(
5252
'--status',
53-
metavar='<region_name>',
53+
metavar='<status>',
5454
help=_('Show versions for a specific status.'
5555
' [Valid values are SUPPORTED, CURRENT,'
5656
' DEPRECATED, EXPERIMENTAL]'),

0 commit comments

Comments
 (0)