Merge "[Optimize] Update help text for hint argument"

This commit is contained in:
Zuul
2018-10-01 17:15:49 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 2 deletions

View File

@@ -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",

View File

@@ -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",