Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
set defaults appropriately (#2887)
Browse files Browse the repository at this point in the history
  • Loading branch information
klshuster authored Jul 28, 2020
1 parent 8807542 commit 30a99d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parlai/core/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ def superscript_main(args=None):
formatter_class=CustomHelpFormatter,
)
subparser.set_defaults(super_command=script_name)
subparser.set_defaults(**script_parser._defaults)
for action in script_parser._actions:
subparser._add_action(action)
for action_group in script_parser._action_groups:
Expand Down

0 comments on commit 30a99d6

Please sign in to comment.