From 1686dc54f09b6e77b1de3abc708c297710987a04 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 3 Apr 2017 16:15:14 -0500 Subject: Help/docs cleanups: marker, limit, ip-address metavars Cleanup help strings and docs for clarity and to keep things consistent: * --limit metavar should be to indicate what is being counted * --marker metavar should be or to indicate the type of value being specified * <*-ip-address> metavars should be just 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 --- openstackclient/image/v2/image.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'openstackclient/image') 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="", + metavar="", type=int, help=_("Maximum number of images to display."), ) parser.add_argument( '--marker', - metavar='', + metavar='', 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 -- cgit v1.2.1