Skip to content

Commit

Permalink
Subcommands are a required argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmonson committed Oct 15, 2024
1 parent 2cef539 commit ffee94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm_eval_test/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def dir_path(path: str) -> str:
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
parents=[parser_base]
)
subparsers = parser.add_subparsers(help='commands', dest='command')
subparsers = parser.add_subparsers(help='commands', dest='command', required=True)
parser_run = subparsers.add_parser(
'run',
description="Run tasks",
Expand Down

0 comments on commit ffee94a

Please sign in to comment.