Improve the format hint of -Pf option

Change the format hint of -Pf option for stack-create/stack-preview
/stack-update commands, from <KEY=VALUE> to <KEY=FILE>.

Closes-Bug: #1486855
Change-Id: Ib6117325d1b582710bd6b9cddfdbc5e9971b3707
This commit is contained in:
zengyingzhe 2015-08-25 11:37:46 +08:00 committed by Yingzhe Zeng
parent 1751fdeef1
commit 91e20bc072

View file

@ -85,7 +85,7 @@ def _authenticated_fetcher(hc):
'This can be specified multiple times, or once with parameters '
'separated by a semicolon.'),
action='append')
@utils.arg('-Pf', '--parameter-file', metavar='<KEY=VALUE>',
@utils.arg('-Pf', '--parameter-file', metavar='<KEY=FILE>',
help=_('Parameter values from file used to create the stack. '
'This can be specified multiple times. Parameter value '
'would be the content of the file'),
@ -250,7 +250,7 @@ def do_stack_adopt(hc, args):
'This can be specified multiple times, or once with parameters '
'separated by semicolon.'),
action='append')
@utils.arg('-Pf', '--parameter-file', metavar='<KEY=VALUE>',
@utils.arg('-Pf', '--parameter-file', metavar='<KEY=FILE>',
help=_('Parameter values from file used to create the stack. '
'This can be specified multiple times. Parameter value '
'would be the content of the file'),
@ -428,7 +428,7 @@ def do_stack_show(hc, args):
'This can be specified multiple times, or once with parameters '
'separated by a semicolon.'),
action='append')
@utils.arg('-Pf', '--parameter-file', metavar='<KEY=VALUE>',
@utils.arg('-Pf', '--parameter-file', metavar='<KEY=FILE>',
help=_('Parameter values from file used to create the stack. '
'This can be specified multiple times. Parameter value '
'would be the content of the file'),