diff --git a/app_skellington/cli.py b/app_skellington/cli.py index 8b5be8a..3aebd1f 100644 --- a/app_skellington/cli.py +++ b/app_skellington/cli.py @@ -94,7 +94,7 @@ class CommandTree: ): if is_required: _bootstrap_logger.warn('Unable to enforce required submenu: Requires >= Python 3.7') - del func_args[required] + del func_args['required'] # Creates an argument as a slot in the underlying argparse. subparsers = self.root_parser.add_subparsers(