diff options
| author | zengyingzhe <zengyingzhe@huawei.com> | 2015-08-25 11:37:46 +0800 |
|---|---|---|
| committer | Yingzhe Zeng <zengyingzhe@huawei.com> | 2015-08-26 00:51:17 +0000 |
| commit | 91e20bc0721c641e4cd8c2f18d29c2f286e47e6e (patch) | |
| tree | 739a6ed9784fb6db8e3841a61fc60c4842e07b6e /heatclient/v1/shell.py | |
| parent | 1751fdeef10a51c617c6000be51e291361b5eafe (diff) | |
| download | python-heatclient-91e20bc0721c641e4cd8c2f18d29c2f286e47e6e.tar.gz | |
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
Diffstat (limited to 'heatclient/v1/shell.py')
| -rw-r--r-- | heatclient/v1/shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py index 2698e45..7ed1226 100644 --- a/heatclient/v1/shell.py +++ b/heatclient/v1/shell.py @@ -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'), |
