Skip to content

Commit

Permalink
1.29 Deprecate remove sub-command
Browse files Browse the repository at this point in the history
* Card ID: CCT-403
* Modified short description of command
* Modified description in manual page of subscription-manager
  • Loading branch information
jirihnidek committed May 20, 2024
1 parent 3cc6ee7 commit c0bb279
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion man/subscription-manager.8
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Shows whether auto-attach is enabled on the systems.
.SS REMOVE OPTIONS
The
.B remove
command removes a subscription from the system. (This does not uninstall the associated products.)
Deprecated, this command will be removed from the future major releases. This command is no-op, when simple content access mode is used. This command tries to remove a subscription from the system. (This does not uninstall the associated products.)

.TP
.B --serial=SERIALNUMBER
Expand Down
4 changes: 3 additions & 1 deletion src/subscription_manager/cli_command/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def __init__(self):
)

def _short_description(self):
return _("Remove all or specific subscriptions from this system")
return _("Deprecated, this command will be removed from the future major releases."
" This command is no-op in simple content access mode."
" It tries to remove all or specific subscriptions from this system")

def _command_name(self):
return "remove"
Expand Down

0 comments on commit c0bb279

Please sign in to comment.