diff options
author | Steve Baker <sbaker@redhat.com> | 2013-12-05 11:03:43 +1300 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2013-12-05 11:08:19 +1300 |
commit | fd6e99793088aadbae86d4a5c17249f81b6806bb (patch) | |
tree | bdc8a59d6709adf50bf14a15d8225bd7994a658a | |
parent | 6f3e0842e40c636ee6e99657fbf8f6162289d8b5 (diff) | |
download | python-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
-rw-r--r-- | heatclient/shell.py | 8 |
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', |