From 29cfebf4e0312ec3cffcea08a7b7cbfecbc7d4e2 Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Tue, 10 Jan 2023 10:08:11 +0100 Subject: bitbake: main: Move --buildfile help at the end of "Execution" group Often, '--buildfile/-b' is used to mean "Do not execute anything but this recipe", so it make sense to have it in the "Execution control options" group. Fixes [YOCTO #12018]. (Original suggestion by Ross Burton) (Bitbake rev: 412a6d8701a92efe4dd6db8ec713c0013f7db64d) Signed-off-by: Yoann Congal Signed-off-by: Richard Purdie --- bitbake/lib/bb/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bitbake/lib/bb/main.py') diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py index 1c87a02daa..92d8dc0293 100755 --- a/bitbake/lib/bb/main.py +++ b/bitbake/lib/bb/main.py @@ -136,10 +136,6 @@ def create_bitbake_parser(): help="Execute the specified task (default is 'build') for these target " "recipes (.bb files).") - general_group.add_argument("-b", "--buildfile", - help="Execute tasks from a specific .bb recipe directly. WARNING: Does " - "not handle any dependencies from other recipes.") - general_group.add_argument("-s", "--show-versions", action="store_true", help="Show current and preferred versions of all recipes.") @@ -227,6 +223,9 @@ def create_bitbake_parser(): help="Set the exit code depending on whether upstream floating " "revisions have changed or not.") + exec_group.add_argument("-b", "--buildfile", + help="Execute tasks from a specific .bb recipe directly. WARNING: Does " + "not handle any dependencies from other recipes.") logging_group.add_argument("-D", "--debug", action="count", default=0, help="Increase the debug level. You can specify this " -- cgit v1.2.3-54-g00ecf