Merge "Add a comment about nodes and roles options." into stable/stein

This commit is contained in:
Zuul 2019-05-03 19:10:57 +00:00 committed by Gerrit Code Review
commit ff5e427633
2 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class UpdateRun(command.Command):
parser = super(UpdateRun, self).get_parser(prog_name)
nodes_or_roles_or_limit = parser.add_mutually_exclusive_group(
required=True)
# The nodes and roles options will be removed in the train version
nodes_or_roles_or_limit.add_argument(
'--nodes', action=command.DeprecatedActionStore, help=_(
"DEPRECATED: This option will be remove in the future release"

View File

@ -98,6 +98,7 @@ class UpgradeRun(command.Command):
def get_parser(self, prog_name):
parser = super(UpgradeRun, self).get_parser(prog_name)
# The nodes and roles options will be removed in the train version
nodes_or_roles_or_limit = parser.add_mutually_exclusive_group(
required=True)
nodes_or_roles_or_limit.add_argument(