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 --- doc/source/command-objects/server.rst | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/source/command-objects/server.rst') diff --git a/doc/source/command-objects/server.rst b/doc/source/command-objects/server.rst index 047bf181..ce4e168d 100644 --- a/doc/source/command-objects/server.rst +++ b/doc/source/command-objects/server.rst @@ -18,11 +18,11 @@ Add fixed IP address to server .. describe:: - Server (name or ID) to receive the fixed IP address + Server to receive the fixed IP address (name or ID) .. describe:: - Network (name or ID) to allocate the fixed IP address from + Network to allocate the fixed IP address from (name or ID) server add floating ip ---------------------- @@ -33,21 +33,21 @@ Add floating IP address to server .. code:: bash openstack server add floating ip - [--fixed-ip-address ] + [--fixed-ip-address ] -.. option:: --fixed-ip-address +.. option:: --fixed-ip-address Fixed IP address to associate with this floating IP address .. describe:: - Server (name or ID) to receive the floating IP address + Server to receive the floating IP address (name or ID) .. describe:: - Floating IP address (IP address only) to assign to server + Floating IP address to assign to server (IP only) server add security group ------------------------- @@ -264,7 +264,7 @@ List servers [--project [--project-domain ]] [--long] [--marker ] - [--limit ] + [--limit ] [--deleted] [--changes-since ] @@ -332,10 +332,10 @@ List servers .. option:: --marker - The last server (name or ID) of the previous page. Display list of servers - after marker. Display all servers if not specified. + The last server of the previous page. Display list of servers + after marker. Display all servers if not specified. (name or ID) -.. option:: --limit +.. option:: --limit Maximum number of servers to display. If limit equals -1, all servers will be displayed. If limit is greater than 'osapi_max_limit' option of Nova @@ -497,11 +497,11 @@ Remove fixed IP address from server .. describe:: - Server (name or ID) to remove the fixed IP address from + Server to remove the fixed IP address from (name or ID) .. describe:: - Fixed IP address (IP address only) to remove from the server + Fixed IP address to remove from the server (IP only) server remove floating ip ------------------------- @@ -517,11 +517,11 @@ Remove floating IP address from server .. describe:: - Server (name or ID) to remove the floating IP address from + Server to remove the floating IP address from (name or ID) .. describe:: - Floating IP address (IP address only) to remove from server + Floating IP address to remove from server (IP only) server remove security group ---------------------------- -- cgit v1.2.1