diff options
| author | TommyLike <tommylikehu@gmail.com> | 2018-05-24 16:24:42 +0800 |
|---|---|---|
| committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2018-07-17 16:03:02 -0500 |
| commit | 2b632c48e3c84ef1f153d76741f5566a762c63c1 (patch) | |
| tree | a173dd36969e5f5030033012bedb62b0d0def969 /cinderclient/v2/shell.py | |
| parent | 3f6aa2a64835c9984b744d9f9f9127fabb9cdd59 (diff) | |
| download | python-cinderclient-2b632c48e3c84ef1f153d76741f5566a762c63c1.tar.gz | |
[Optimize] Update help text for hint argument
Update scheduler_hint's help text to describe
how to specify multiple hints and array value.
Change-Id: If975e06b6e9914848498fa2c3ab27c2f41d7860b
Diffstat (limited to 'cinderclient/v2/shell.py')
| -rw-r--r-- | cinderclient/v2/shell.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 16412d8..0a84bfa 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -294,7 +294,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", |
