summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/volume.py
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2017-04-03 16:15:14 -0500
committerSteve Martinelli <s.martinelli@gmail.com>2017-04-04 03:56:19 +0000
commit1686dc54f09b6e77b1de3abc708c297710987a04 (patch)
tree6c02758c2006da60f634940324c607e6785b433f /openstackclient/volume/v2/volume.py
parentb2ceb58fc377cd9030becaa934fc4e5d13cb55b4 (diff)
downloadpython-openstackclient-1686dc54f09b6e77b1de3abc708c297710987a04.tar.gz
Help/docs cleanups: marker, limit, ip-address metavars
Cleanup help strings and docs for clarity and to keep things consistent: * --limit metavar should be <num-resource> to indicate what is being counted * --marker metavar should be <resource> or <resource-id> to indicate the type of value being specified * <*-ip-address> metavars should be just <ip-address> as there is no difference in format between fixed and floating IPs * Move all occurances of '(name or ID)' to end of help text Change-Id: I2c31746ed6ded3845244e03e57d809f8bc0e6b9d
Diffstat (limited to 'openstackclient/volume/v2/volume.py')
-rw-r--r--openstackclient/volume/v2/volume.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/volume/v2/volume.py b/openstackclient/volume/v2/volume.py
index c361d700..2b6c966d 100644
--- a/openstackclient/volume/v2/volume.py
+++ b/openstackclient/volume/v2/volume.py
@@ -341,14 +341,14 @@ class ListVolume(command.Lister):
)
parser.add_argument(
'--marker',
- metavar='<marker>',
+ metavar='<volume>',
help=_('The last volume ID of the previous page'),
)
parser.add_argument(
'--limit',
type=int,
action=parseractions.NonNegativeAction,
- metavar='<limit>',
+ metavar='<num-volumes>',
help=_('Maximum number of volumes to display'),
)
return parser