From 200d20a71c64b98afd87c1fb2e6babd25d18f442 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Fri, 26 Apr 2019 10:31:32 -0600 Subject: [PATCH] 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 --- tripleoclient/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tripleoclient/utils.py b/tripleoclient/utils.py index 3cb208276..a17b2f34d 100644 --- a/tripleoclient/utils.py +++ b/tripleoclient/utils.py @@ -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'