Update --*-flavor --*-count description

These options now throw a hard error. Let's update the help text to
indicate that they will be removed in the U cycle.

See I94376c5f25c354a9fcdbca11548f7e3eedbd9491

Change-Id: I6826338e028b25230dbf12d4b207e5f4ab7805c8
This commit is contained in:
Alex Schultz 2019-04-26 10:31:32 -06:00
parent 33a853cbfb
commit 200d20a71c
1 changed files with 2 additions and 2 deletions

View File

@ -703,10 +703,10 @@ def add_deployment_plan_arguments(parser, mark_as_depr=False):
"""Add deployment plan arguments (flavors and scales) to a parser"""
depr_warning = _(' (DEPRECATED. Use an environment file and set the '
'parameter %s. It will be removed after the "P" '
'parameter %s. This option will be removed in the "U" '
'release.)')
# TODO(d0ugal): Deprecated in Newton. Remove these in P.
# TODO(d0ugal): Deprecated in Newton. Remove these in U.
parser.add_argument('--control-scale', type=int,
help=_('New number of control nodes.')
+ (depr_warning % 'ControllerCount'