diff --git a/wa/framework/command.py b/wa/framework/command.py index 7397c794..3a8c7730 100644 --- a/wa/framework/command.py +++ b/wa/framework/command.py @@ -111,6 +111,7 @@ class ComplexCommand(Command): def initialize(self, context): subparsers = self.parser.add_subparsers(dest='what', metavar='SUBCMD') + subparsers.required = True for subcmd_cls in self.subcmd_classes: subcmd = subcmd_cls(self.logger, subparsers) self.subcommands.append(subcmd)