diff --git a/holland/core/command/command.py b/holland/core/command/command.py index 5d36340c..0e6f2a3d 100644 --- a/holland/core/command/command.py +++ b/holland/core/command/command.py @@ -84,6 +84,9 @@ class Command(object): description = " " def __init__(self): + if self.name in SUBPARSER.choices: + self.optparser = SUBPARSER.choices[self.name] + return self.optparser = SUBPARSER.add_parser( self.name, help=f"{self.name} {self.description}",