From 30a99d62ffa92914231ad6ef79a5d832bec4e048 Mon Sep 17 00:00:00 2001 From: Kurt Shuster Date: Tue, 28 Jul 2020 10:58:07 -0400 Subject: [PATCH] set defaults appropriately (#2887) --- parlai/core/script.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parlai/core/script.py b/parlai/core/script.py index b3ad904229a..b0bfe837cc2 100644 --- a/parlai/core/script.py +++ b/parlai/core/script.py @@ -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: