Improved the help message of the stack-list tags

The stack-list help message for tags was not very helpful and was
confusing. So, changed the help message so that it is more
understandable for the user.

Change-Id: Ia49a40652a0c96ba257edb35bae4455be3373d0f
Closes-Bug: #1625011
This commit is contained in:
Sharat Sharma 2016-09-19 12:33:04 +05:30
parent 67edf240c9
commit 81284f3e82
1 changed files with 12 additions and 8 deletions

View File

@ -604,17 +604,21 @@ def do_stack_cancel_update(hc, args):
'parameters separated by a semicolon.'),
action='append')
@utils.arg('-t', '--tags', metavar='<TAG1,TAG2...>',
help=_('Show stacks containing these tags, combine multiple tags '
'using the boolean AND expression'))
help=_('Show stacks containing these tags. If multiple tags '
'are passed, they will be combined using the AND '
'boolean expression. '))
@utils.arg('--tags-any', metavar='<TAG1,TAG2...>',
help=_('Show stacks containing these tags, combine multiple tags '
'using the boolean OR expression'))
help=_('Show stacks containing these tags, If multiple tags '
'are passed, they will be combined using the OR '
'boolean expression. '))
@utils.arg('--not-tags', metavar='<TAG1,TAG2...>',
help=_('Show stacks not containing these tags, combine multiple '
'tags using the boolean AND expression'))
help=_('Show stacks not containing these tags, If multiple tags '
'are passed, they will be combined using the AND '
'boolean expression. '))
@utils.arg('--not-tags-any', metavar='<TAG1,TAG2...>',
help=_('Show stacks not containing these tags, combine multiple '
'tags using the boolean OR expression'))
help=_('Show stacks not containing these tags, If multiple tags '
'are passed, they will be combined using the OR '
'boolean expression. '))
@utils.arg('-l', '--limit', metavar='<LIMIT>',
help=_('Limit the number of stacks returned.'))
@utils.arg('-m', '--marker', metavar='<ID>',