From 4f3e7cd99e1d8906a9f4e43a91161beb8af96bc3 Mon Sep 17 00:00:00 2001 From: shizhihui Date: Mon, 1 Aug 2016 10:53:49 +0800 Subject: Trivial:Standardize the output format of 'help' in shell.py Change-Id: Ie6c03d56ab2f0aa14bc96028fd548e80987beeb1 --- heatclient/v1/shell.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'heatclient/v1') 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='', 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='', help=_('Parameter values used to create the stack. ' 'This can be specified multiple times, or once with ' -- cgit v1.2.1