summaryrefslogtreecommitdiff
path: root/heatclient/v1
diff options
context:
space:
mode:
authorshizhihui <zhihui.shi@easystack.cn>2016-08-01 10:53:49 +0800
committershizhihui <zhihui.shi@easystack.cn>2016-08-30 16:48:09 +0800
commit4f3e7cd99e1d8906a9f4e43a91161beb8af96bc3 (patch)
treed4faa04fdfabfaf2e02c55aad5996b95acd82d64 /heatclient/v1
parent937b1f14c62b4aba509816c74b583fa21d406285 (diff)
downloadpython-heatclient-4f3e7cd99e1d8906a9f4e43a91161beb8af96bc3.tar.gz
Trivial:Standardize the output format of 'help' in shell.py
Change-Id: Ie6c03d56ab2f0aa14bc96028fd548e80987beeb1
Diffstat (limited to 'heatclient/v1')
-rw-r--r--heatclient/v1/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py
index cfc942a..f54b793 100644
--- a/heatclient/v1/shell.py
+++ b/heatclient/v1/shell.py
@@ -419,7 +419,7 @@ def do_action_check(hc, args):
@utils.arg('id', metavar='<NAME or ID>',
help=_('Name or ID of stack to describe.'))
@utils.arg('--no-resolve-outputs', action="store_true",
- help='Do not resolve outputs of the stack.')
+ help=_('Do not resolve outputs of the stack.'))
def do_stack_show(hc, args):
'''Describe the stack.'''
show_deprecated('heat stack-show', 'openstack stack show')
@@ -464,10 +464,10 @@ def do_stack_show(hc, args):
'updated.')
% {'true': strutils.TRUE_STRINGS, 'false': strutils.FALSE_STRINGS})
@utils.arg('-y', '--dry-run', default=False, action="store_true",
- help='Do not actually perform the stack update, but show what '
- 'would be changed')
+ help=_('Do not actually perform the stack update, but show what '
+ 'would be changed'))
@utils.arg('-n', '--show-nested', default=False, action="store_true",
- help='Show nested stacks when performing --dry-run')
+ help=_('Show nested stacks when performing --dry-run'))
@utils.arg('-P', '--parameters', metavar='<KEY1=VALUE1;KEY2=VALUE2...>',
help=_('Parameter values used to create the stack. '
'This can be specified multiple times, or once with '