diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index e19b48f23b..cc54385b52 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -316,6 +316,11 @@ def options(opt): 'examples. The special group "all" selects all programs.', ) + g = opt.ap_groups['check'] + g.add_option('--check-verbose', + action='store_true', + help='Output all test programs') + def build(bld): global LAST_IDX # FIXME: This is done to prevent same task generators being created with diff --git a/wscript b/wscript index b9dea106db..dd56ca9925 100644 --- a/wscript +++ b/wscript @@ -57,11 +57,6 @@ def options(opt): default='sitl', help='Target board to build, choices are %s' % boards_names) - g = opt.ap_groups['check'] - g.add_option('--check-verbose', - action='store_true', - help='Output all test programs') - g.add_option('--no-submodule-update', dest='submodule_update', action='store_false',