wscript: Swap enable-sciprint to be disable

This commit is contained in:
Michael du Breuil 2019-06-17 15:25:27 -07:00 committed by WickedShell
parent a34ac14ec5
commit 4a4a91c662
1 changed files with 5 additions and 5 deletions

10
wscript
View File

@ -131,9 +131,9 @@ submodules at specific revisions.
default=False,
help="Enable checking of math indexes")
g.add_option('--enable-scripting', action='store_true',
g.add_option('--disable-scripting', action='store_true',
default=False,
help="Enable onboard scripting engine")
help="Disable onboard scripting engine")
g.add_option('--scripting-checks', action='store_true',
default=True,
@ -428,10 +428,10 @@ def configure(cfg):
cfg.end_msg('disabled', color='YELLOW')
cfg.start_msg('Scripting')
if cfg.options.enable_scripting:
cfg.end_msg('enabled')
else:
if cfg.options.disable_scripting:
cfg.end_msg('disabled', color='YELLOW')
else:
cfg.end_msg('enabled')
cfg.start_msg('Scripting runtime checks')
if cfg.options.scripting_checks: