Merge "Add a comment about nodes and roles options." into stable/stein
This commit is contained in:
commit
ff5e427633
|
@ -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"
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue