summaryrefslogtreecommitdiff
path: root/heatclient
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-03-01 12:13:54 +0000
committerGerrit Code Review <review@openstack.org>2018-03-01 12:13:54 +0000
commitcbc034c8afc7182e963a9a007b42b759f5f9e516 (patch)
tree45e679046b6f84c19cbec8d265dc2a89cf26176e /heatclient
parent4e8903554a40a305fb4dfe05c9cf13f414bd409c (diff)
parentd1d4387babd7b249fc1fc3871a5756f88263c7e1 (diff)
downloadpython-heatclient-cbc034c8afc7182e963a9a007b42b759f5f9e516.tar.gz
Merge "Document osc CLI"
Diffstat (limited to 'heatclient')
-rw-r--r--heatclient/osc/v1/stack.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py
index 4a0c52e..3817bea 100644
--- a/heatclient/osc/v1/stack.py
+++ b/heatclient/osc/v1/stack.py
@@ -59,9 +59,9 @@ class CreateStack(command.ShowOne):
action='append',
help=_('Name of a resource to set a pre-create hook to. Resources '
'in nested stacks can be set using slash as a separator: '
- 'nested_stack/another/my_resource. You can use wildcards '
- 'to match multiple stacks or resources: '
- 'nested_stack/an*/*_resource. This can be specified '
+ '``nested_stack/another/my_resource``. You can use '
+ 'wildcards to match multiple stacks or resources: '
+ '``nested_stack/an*/*_resource``. This can be specified '
'multiple times')
)
parser.add_argument(
@@ -210,9 +210,9 @@ class UpdateStack(command.ShowOne):
'--pre-update', metavar='<resource>', action='append',
help=_('Name of a resource to set a pre-update hook to. Resources '
'in nested stacks can be set using slash as a separator: '
- 'nested_stack/another/my_resource. You can use wildcards '
- 'to match multiple stacks or resources: '
- 'nested_stack/an*/*_resource. This can be specified '
+ '``nested_stack/another/my_resource``. You can use '
+ 'wildcards to match multiple stacks or resources: '
+ '``nested_stack/an*/*_resource``. This can be specified '
'multiple times')
)
parser.add_argument(
@@ -1217,6 +1217,7 @@ class CancelStack(StackActionBase):
"""Cancel current task for a stack.
Supported tasks for cancellation:
+
* update
* create
"""
@@ -1379,9 +1380,9 @@ class StackHookClear(command.Command):
nargs='+',
help=_('Resource names with hooks to clear. Resources '
'in nested stacks can be set using slash as a separator: '
- 'nested_stack/another/my_resource. You can use wildcards '
- 'to match multiple stacks or resources: '
- 'nested_stack/an*/*_resource')
+ '``nested_stack/another/my_resource``. You can use '
+ 'wildcards to match multiple stacks or resources: '
+ '``nested_stack/an*/*_resource``')
)
return parser