From 96e17f18cc598d79f8fe47e24fa08c8b20f2c156 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 30 Mar 2024 10:25:21 +0900 Subject: [PATCH] Tools: waf help output shows --define under build --- Tools/ardupilotwaf/ardupilotwaf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/ardupilotwaf/ardupilotwaf.py b/Tools/ardupilotwaf/ardupilotwaf.py index d53224f2d6aa6..8f17317b738e1 100644 --- a/Tools/ardupilotwaf/ardupilotwaf.py +++ b/Tools/ardupilotwaf/ardupilotwaf.py @@ -591,16 +591,16 @@ def options(opt): help='''Override board type check and continue loading. Same as using uploader.py --force. ''') + g.add_option('--define', + action='append', + help='Add C++ define to build.') + g = opt.ap_groups['check'] g.add_option('--check-verbose', action='store_true', help='Output all test programs.') - g.add_option('--define', - action='append', - help='Add C++ define to build.') - g = opt.ap_groups['clean'] g.add_option('--clean-all-sigs',