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 <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yoann Congal
2023-01-10 10:08:11 +01:00
committed by Richard Purdie
parent 51f7321141
commit 29cfebf4e0

View File

@@ -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 "