Skip to content

Commit

Permalink
Add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricahrd Hammond committed Jul 4, 2024
1 parent acd6806 commit 19ed6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd2/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 19ed6ae

Please sign in to comment.