summaryrefslogtreecommitdiff
path: root/heatclient/osc
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2017-01-12 21:36:27 -0500
committerRussell Bryant <rbryant@redhat.com>2017-01-12 21:37:28 -0500
commitef375e09dded0d11137c06d1cabe20444655cde0 (patch)
tree17cf3b4afcb0e0604f2159c046b69ee0bb9c7d06 /heatclient/osc
parent79b79759296aaeaf6ce65829aff165c06af68069 (diff)
downloadpython-heatclient-ef375e09dded0d11137c06d1cabe20444655cde0.tar.gz
Support -y for --yes.
Add short form '-y' for '--yes', mainly because I'm lazy. Change-Id: Ia82f64246a191a1615ba1d886f80caa5f52cc835 Signed-off-by: Russell Bryant <rbryant@redhat.com>
Diffstat (limited to 'heatclient/osc')
-rw-r--r--heatclient/osc/v1/stack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py
index 719c0de..cf03cec 100644
--- a/heatclient/osc/v1/stack.py
+++ b/heatclient/osc/v1/stack.py
@@ -656,7 +656,7 @@ class DeleteStack(command.Command):
help=_('Stack(s) to delete (name or ID)')
)
parser.add_argument(
- '--yes',
+ '-y', '--yes',
action='store_true',
help=_('Skip yes/no prompt (assume yes)')
)