All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Move --buildfile help at the end of "Execution" group
@ 2023-01-10  9:08 Yoann Congal
  0 siblings, 0 replies; only message in thread
From: Yoann Congal @ 2023-01-10  9:08 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Yoann Congal

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)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 lib/bb/main.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/bb/main.py b/lib/bb/main.py
index 1c87a02d..92d8dc02 100755
--- a/lib/bb/main.py
+++ b/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 "
-- 
2.30.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-10  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10  9:08 [PATCH] Move --buildfile help at the end of "Execution" group Yoann Congal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.