diff options
author | Steven Knight <knight@baldmt.com> | 2003-07-21 15:36:38 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-07-21 15:36:38 (GMT) |
commit | 1737bf0b826d00d06a62f623e61404795cc65b49 (patch) | |
tree | 981127b34c0f1f142d285ab78ecf5c5ecddc0bca | |
parent | 78c4fae66e565b081bfadd947c2fc9466c57ec03 (diff) | |
download | SCons-1737bf0b826d00d06a62f623e61404795cc65b49.zip SCons-1737bf0b826d00d06a62f623e61404795cc65b49.tar.gz SCons-1737bf0b826d00d06a62f623e61404795cc65b49.tar.bz2 |
Fix the -h option
-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 |