mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
replace metavar "volume-id" with "volume" to avoid ambiguity
The help message of command "openstack volume show" accepts either
volume-name or volume-ID. But the metavar is "volume-id" as below.
It can easily lead to misunderstanding.
usage: openstack volume show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent][--prefix PREFIX]
<volume-id>
Change-Id: I57576ea23868b1026cf268be69b39e98a53aafd4
This commit is contained in:
parent
ccd2d658d1
commit
b30a7b795f
1 changed files with 1 additions and 1 deletions
|
|
@ -490,7 +490,7 @@ class ShowVolume(command.ShowOne):
|
|||
parser = super(ShowVolume, self).get_parser(prog_name)
|
||||
parser.add_argument(
|
||||
'volume',
|
||||
metavar="<volume-id>",
|
||||
metavar="<volume>",
|
||||
help=_("Volume to display (name or ID)")
|
||||
)
|
||||
return parser
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue