summaryrefslogtreecommitdiff
path: root/cinderclient
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-01 17:15:49 +0000
committerGerrit Code Review <review@openstack.org>2018-10-01 17:15:49 +0000
commit3dbf4728ea5e8e395151edb6c4cc77be3a8a8764 (patch)
treed5e7976bbb8978218b540d49b64bf62f41bb2c10 /cinderclient
parent525a8556434517824f7d5c142a56a772b4084601 (diff)
parent2b632c48e3c84ef1f153d76741f5566a762c63c1 (diff)
downloadpython-cinderclient-3dbf4728ea5e8e395151edb6c4cc77be3a8a8764.tar.gz
Merge "[Optimize] Update help text for hint argument"
Diffstat (limited to 'cinderclient')
-rw-r--r--cinderclient/v2/shell.py4
-rw-r--r--cinderclient/v3/shell.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py
index d9d05dd..d4975dc 100644
--- a/cinderclient/v2/shell.py
+++ b/cinderclient/v2/shell.py
@@ -290,7 +290,9 @@ class CheckSizeArgForCreate(argparse.Action):
dest='scheduler_hints',
action='append',
default=[],
- help='Scheduler hint, like in nova.')
+ help='Scheduler hint, similar to nova. Repeat option to set '
+ 'multiple hints. Values with the same key will be stored '
+ 'as a list.')
@utils.arg('--allow-multiattach',
dest='multiattach',
action="store_true",
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py
index d434fdc..d0f1b95 100644
--- a/cinderclient/v3/shell.py
+++ b/cinderclient/v3/shell.py
@@ -560,7 +560,9 @@ def do_reset_state(cs, args):
dest='scheduler_hints',
action='append',
default=[],
- help='Scheduler hint, like in nova.')
+ help='Scheduler hint, similar to nova. Repeat option to set '
+ 'multiple hints. Values with the same key will be stored '
+ 'as a list.')
@utils.arg('--allow-multiattach',
dest='multiattach',
action="store_true",