summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2023-01-10 10:08:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-11 23:14:48 +0000
commit29cfebf4e0312ec3cffcea08a7b7cbfecbc7d4e2 (patch)
tree0d4092f01cdac951cadbab553137e2a2d8dad82d /bitbake/lib/bb
parent51f732114168d5a689f7baceae74bd68ff6e5745 (diff)
downloadpoky-29cfebf4e0312ec3cffcea08a7b7cbfecbc7d4e2.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb')
-rwxr-xr-xbitbake/lib/bb/main.py7
1 files changed, 3 insertions, 4 deletions
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():
136 help="Execute the specified task (default is 'build') for these target " 136 help="Execute the specified task (default is 'build') for these target "
137 "recipes (.bb files).") 137 "recipes (.bb files).")
138 138
139 general_group.add_argument("-b", "--buildfile",
140 help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
141 "not handle any dependencies from other recipes.")
142
143 general_group.add_argument("-s", "--show-versions", action="store_true", 139 general_group.add_argument("-s", "--show-versions", action="store_true",
144 help="Show current and preferred versions of all recipes.") 140 help="Show current and preferred versions of all recipes.")
145 141
@@ -227,6 +223,9 @@ def create_bitbake_parser():
227 help="Set the exit code depending on whether upstream floating " 223 help="Set the exit code depending on whether upstream floating "
228 "revisions have changed or not.") 224 "revisions have changed or not.")
229 225
226 exec_group.add_argument("-b", "--buildfile",
227 help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
228 "not handle any dependencies from other recipes.")
230 229
231 logging_group.add_argument("-D", "--debug", action="count", default=0, 230 logging_group.add_argument("-D", "--debug", action="count", default=0,
232 help="Increase the debug level. You can specify this " 231 help="Increase the debug level. You can specify this "