diff --git a/cmd2/decorators.py b/cmd2/decorators.py index fdebdd4e..6d0a139f 100644 --- a/cmd2/decorators.py +++ b/cmd2/decorators.py @@ -209,7 +209,7 @@ def _set_parser_prog(parser: argparse.ArgumentParser, prog: str) -> None: """ # Set the prog value for this parser parser.prog = prog - req_args = [] + req_args: List[str] = [] # Set the prog value for the parser's subcommands for action in parser._actions: