diff options
Diffstat (limited to 'src/engine/SCons/Script/__init__.py')
-rw-r--r-- | src/engine/SCons/Script/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Script/__init__.py b/src/engine/SCons/Script/__init__.py index 6aa45ba..fe56568 100644 --- a/src/engine/SCons/Script/__init__.py +++ b/src/engine/SCons/Script/__init__.py @@ -677,7 +677,7 @@ class SConscriptSettableOptions: self.settable[name] = value -def _main(args): +def _main(args, parser): targets = [] # Enable deprecated warnings by default. @@ -971,9 +971,9 @@ def _exec_main(): options, args = parser.parse_args(all_args) if options.debug == "pdb": import pdb - pdb.Pdb().runcall(_main, args) + pdb.Pdb().runcall(_main, args, parser) else: - _main(args) + _main(args, parser) def main(): global exit_status |