mirror of
https://opendev.org/openstack/python-heatclient.git
synced 2026-01-17 07:10:29 +00:00
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:
parent
1751fdeef1
commit
91e20bc072
1 changed files with 3 additions and 3 deletions
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue