Skip to content

Commit

Permalink
fix: [1.29] Remove command should not be primary command
Browse files Browse the repository at this point in the history
* Card ID: CCT-403
* There is no reason to keep this command as primary command
  • Loading branch information
jirihnidek committed Jun 10, 2024
1 parent ccf0207 commit f982728
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/subscription_manager/cli_command/remove.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ def _command_name(self):
return "remove"

def _primary(self):
return True
"""
This command is deprecated and no-op. It used to be primary command, but
there is no reason to have keep this command as primary command anymore.
"""
return False

def _validate_options(self):
if self.options.serials:
Expand Down

0 comments on commit f982728

Please sign in to comment.