From 2655446f961fbeccf9b916d416c9be6ba9adc863 Mon Sep 17 00:00:00 2001 From: LaterComer <12015333+ComerLater@users.noreply.github.com> Date: Wed, 19 Mar 2025 10:55:30 +0800 Subject: [PATCH] Update options.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加scons --target别名scons --ide,减少用户对target的误解 --- tools/options.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/options.py b/tools/options.py index 2a19e1ac0eb..1e84e818333 100644 --- a/tools/options.py +++ b/tools/options.py @@ -70,10 +70,10 @@ def AddOptions(): action = 'store_true', default = False, help = 'clean up the library by --buildlib') - AddOption('--target', + AddOption('--target', '--ide', dest = 'target', type = 'string', - help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake') + help = 'set ide project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake') AddOption('--cmsispack', dest = 'cmsispack', type = 'string', @@ -153,4 +153,4 @@ def AddOptions(): action='store_true', default=False, help='create minimal distribution based on compile_commands.json.'+\ - 'So you should run `bear -- scons` to generate compile_commands.json first.') \ No newline at end of file + 'So you should run `bear -- scons` to generate compile_commands.json first.')