summaryrefslogtreecommitdiff
path: root/heatclient/shell.py
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2013-12-05 11:03:43 +1300
committerSteve Baker <sbaker@redhat.com>2013-12-05 11:08:19 +1300
commitfd6e99793088aadbae86d4a5c17249f81b6806bb (patch)
treebdc8a59d6709adf50bf14a15d8225bd7994a658a /heatclient/shell.py
parent6f3e0842e40c636ee6e99657fbf8f6162289d8b5 (diff)
downloadpython-heatclient-fd6e99793088aadbae86d4a5c17249f81b6806bb.tar.gz
Add back --token-only for invocation compatibility0.2.6
This unused option should remain so that scripts that use it do not break. It is suppressed so it will not appear in the help. Closes-Bug:1250731 Change-Id: I1180d8797d1e4c79dba92952931311cce50a1d3f
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r--heatclient/shell.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py
index d04a9d1..61e3c1a 100644
--- a/heatclient/shell.py
+++ b/heatclient/shell.py
@@ -176,6 +176,14 @@ class HeatShell(object):
parser.add_argument('--os_endpoint_type',
help=argparse.SUPPRESS)
+ # This unused option should remain so that scripts that
+ # use it do not break. It is suppressed so it will not
+ # appear in the help.
+ parser.add_argument('-t', '--token-only',
+ default=bool(False),
+ action='store_true',
+ help=argparse.SUPPRESS)
+
parser.add_argument('--include-password',
default=bool(utils.env('HEAT_INCLUDE_PASSWORD')),
action='store_true',