Skip to content

Commit b30a7b7

Browse files
author
Shu Yingya
committed
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
1 parent ccd2d65 commit b30a7b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openstackclient/volume/v2/volume.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def get_parser(self, prog_name):
490490
parser = super(ShowVolume, self).get_parser(prog_name)
491491
parser.add_argument(
492492
'volume',
493-
metavar="<volume-id>",
493+
metavar="<volume>",
494494
help=_("Volume to display (name or ID)")
495495
)
496496
return parser

0 commit comments

Comments
 (0)