From 4a4a91c662ee880b2c5cff56f5951cfff3f0a405 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Mon, 17 Jun 2019 15:25:27 -0700 Subject: [PATCH] wscript: Swap enable-sciprint to be disable --- wscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wscript b/wscript index b8a68c674a..4f659a781e 100644 --- a/wscript +++ b/wscript @@ -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: