summaryrefslogtreecommitdiff
path: root/openstackclient/image
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/image
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/image')
-rw-r--r--openstackclient/image/v2/image.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/image/v2/image.py b/openstackclient/image/v2/image.py
index c4be69f0..766de4de 100644
--- a/openstackclient/image/v2/image.py
+++ b/openstackclient/image/v2/image.py
@@ -463,17 +463,17 @@ class ListImage(command.Lister):
)
parser.add_argument(
"--limit",
- metavar="<limit>",
+ metavar="<num-images>",
type=int,
help=_("Maximum number of images to display."),
)
parser.add_argument(
'--marker',
- metavar='<marker>',
+ metavar='<image>',
default=None,
- help=_("The last image (name or ID) of the previous page. Display "
+ help=_("The last image of the previous page. Display "
"list of images after marker. Display all images if not "
- "specified."),
+ "specified. (name or ID)"),
)
return parser