Add back --token-only for invocation compatibility

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
This commit is contained in:
Steve Baker 2013-12-05 11:03:43 +13:00
parent 6f3e0842e4
commit fd6e997930
1 changed files with 8 additions and 0 deletions

View File

@ -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',