summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-09-12 11:25:48 +0000
committerGerrit Code Review <review@openstack.org>2018-09-12 11:25:48 +0000
commit8128ebbdd9dd6312fb09fd2b65cf3aee0bca9921 (patch)
treee125a4b6da59bf397f72a6d47db3c5c7b9732410
parentc5ac62f4ef221554e6c56de3058bb0ad17a72433 (diff)
parent72b4441fe1413396db2e0e11113033d9e562e934 (diff)
downloadpython-novaclient-8128ebbdd9dd6312fb09fd2b65cf3aee0bca9921.tar.gz
Merge "Improve the description of optional arguments"
-rw-r--r--doc/source/cli/nova.rst10
-rw-r--r--novaclient/v2/shell.py8
2 files changed, 9 insertions, 9 deletions
diff --git a/doc/source/cli/nova.rst b/doc/source/cli/nova.rst
index af9660aa..35799551 100644
--- a/doc/source/cli/nova.rst
+++ b/doc/source/cli/nova.rst
@@ -1943,13 +1943,13 @@ List actions on a server.
``--limit <limit>``
Maximum number of instance actions to display. Note that there is
a configurable max limit on the server, and the limit that is used will be
- the minimum between what is requested here and what is configured
+ the minimum of what is requested here and what is configured
in the server. (Supported by API versions '2.58' - '2.latest')
``--changes-since <changes_since>``
List only instance actions changed after a certain point of time.
The provided time should be an ISO 8061 formatted time.
- ex 2016-03-04T06:27:59Z. (Supported by API versions '2.58' - '2.latest')
+ e.g. 2016-03-04T06:27:59Z. (Supported by API versions '2.58' - '2.latest')
.. _nova_interface-attach:
@@ -2464,14 +2464,14 @@ Print a list of migrations.
``--limit <limit>``
Maximum number of migrations to display. Note that there is a configurable
- max limit on the server, and the limit that is used will be the minimum
- between what is requested here and what is configured in the server.
+ max limit on the server, and the limit that is used will be the minimum of
+ what is requested here and what is configured in the server.
(Supported by API versions '2.59' - '2.latest')
``--changes-since <changes_since>``
List only migrations changed after a certain point of time.
The provided time should be an ISO 8061 formatted time.
- ex 2016-03-04T06:27:59Z . (Supported by API versions '2.59' - '2.latest')
+ e.g. 2016-03-04T06:27:59Z . (Supported by API versions '2.59' - '2.latest')
.. _nova_pause:
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index e6a09a61..0bf6da8e 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -5044,7 +5044,7 @@ def do_instance_action_list(cs, args):
default=None,
help=_('Maximum number of instance actions to display. Note that there '
'is a configurable max limit on the server, and the limit that is '
- 'used will be the minimum between what is requested here and what '
+ 'used will be the minimum of what is requested here and what '
'is configured in the server.'))
@utils.arg(
'--changes-since',
@@ -5053,7 +5053,7 @@ def do_instance_action_list(cs, args):
default=None,
help=_('List only instance actions changed after a certain point of '
'time. The provided time should be an ISO 8061 formatted time. '
- 'ex 2016-03-04T06:27:59Z.'))
+ 'e.g. 2016-03-04T06:27:59Z.'))
def do_instance_action_list(cs, args):
"""List actions on a server."""
server = _find_server(cs, args.server, raise_if_notfound=False)
@@ -5197,7 +5197,7 @@ def do_migration_list(cs, args):
default=None,
help=_('Maximum number of migrations to display. Note that there is a '
'configurable max limit on the server, and the limit that is used '
- 'will be the minimum between what is requested here and what '
+ 'will be the minimum of what is requested here and what '
'is configured in the server.'))
@utils.arg(
'--changes-since',
@@ -5206,7 +5206,7 @@ def do_migration_list(cs, args):
default=None,
help=_('List only migrations changed after a certain point of time. '
'The provided time should be an ISO 8061 formatted time. '
- 'ex 2016-03-04T06:27:59Z .'))
+ 'e.g. 2016-03-04T06:27:59Z .'))
def do_migration_list(cs, args):
"""Print a list of migrations."""
if args.changes_since: