Skip to content

Commit

Permalink
feat: deprecate autosubscribe/auto-attach register options
Browse files Browse the repository at this point in the history
This patch updates the '--auto-attach' and '--autosubscribe'
options help text with a deprecation notice.

Signed-off-by: Jason Jerome <[email protected]>
  • Loading branch information
DuckBoss committed Jun 7, 2024
1 parent c3dc014 commit b19f8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subscription_manager/cli_command/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b19f8dc

Please sign in to comment.