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/object/v1/container.py | 2 +- openstackclient/object/v1/object.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'openstackclient/object') diff --git a/openstackclient/object/v1/container.py b/openstackclient/object/v1/container.py index 88fb8602..9f689ab6 100644 --- a/openstackclient/object/v1/container.py +++ b/openstackclient/object/v1/container.py @@ -119,7 +119,7 @@ class ListContainer(command.Lister): ) parser.add_argument( "--limit", - metavar="", + metavar="", type=int, help=_("Limit the number of containers returned"), ) diff --git a/openstackclient/object/v1/object.py b/openstackclient/object/v1/object.py index 71b6f520..e79cea48 100644 --- a/openstackclient/object/v1/object.py +++ b/openstackclient/object/v1/object.py @@ -139,7 +139,7 @@ class ListObject(command.Lister): ) parser.add_argument( "--limit", - metavar="", + metavar="", type=int, help=_("Limit the number of objects returned"), ) -- cgit v1.2.1