From b19f8dcb4f9f3f04ad3ebfea51bdfba8254e0c5c Mon Sep 17 00:00:00 2001 From: Jason Jerome Date: Fri, 7 Jun 2024 09:31:38 -0400 Subject: [PATCH] feat: deprecate autosubscribe/auto-attach register options This patch updates the '--auto-attach' and '--autosubscribe' options help text with a deprecation notice. Signed-off-by: Jason Jerome --- src/subscription_manager/cli_command/register.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/subscription_manager/cli_command/register.py b/src/subscription_manager/cli_command/register.py index 0c7ae9bd46..a6d80301a1 100644 --- a/src/subscription_manager/cli_command/register.py +++ b/src/subscription_manager/cli_command/register.py @@ -109,13 +109,13 @@ def __init__(self): self.parser.add_argument( "--autosubscribe", action="store_true", - help=_("Deprecated, see --auto-attach"), + help=_("Deprecated, this option will be removed from the future major releases"), ) self.parser.add_argument( "--auto-attach", action="store_true", dest="autoattach", - help=_("automatically attach compatible subscriptions to this system"), + help=_("Deprecated, this option will be removed from the future major releases"), ) self.parser.add_argument( "--force",