summaryrefslogtreecommitdiff
path: root/heatclient/osc
diff options
context:
space:
mode:
authorZane Bitter <zbitter@redhat.com>2017-11-29 17:08:46 -0500
committerZane Bitter <zbitter@redhat.com>2018-01-25 10:02:04 -0500
commitd1d4387babd7b249fc1fc3871a5756f88263c7e1 (patch)
treeb44476595ccd73124a1d01f2c54f38d52ab584dd /heatclient/osc
parentc821f148d876ff42d5c7ca5a9a7d8666a43795c8 (diff)
downloadpython-heatclient-d1d4387babd7b249fc1fc3871a5756f88263c7e1.tar.gz
Document osc CLI
Change-Id: Idafe730021f272360ac0588f8b35e7d392c96d4b Closes-Bug: #1735019
Diffstat (limited to 'heatclient/osc')
-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