Skip to contentSkip to conversation

main: add skeleton documentation for the recipe:do_task syntax

PATCH New Ross Burton 1 participant 1 message Jul 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 main: add skeleton documentation for the recipe:do_task syntax

The incredibly useful recipe:do_task syntax on the command line isn't documented at all. This isn't much but it's better than nothing.

---
 bitbake/lib/bb/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bb/main.py +1 -1
index 49dc8d5..ee72328 100755
@@ -83,7 +83,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters):
     def parseCommandLine(self, argv=sys.argv):
         parser = optparse.OptionParser(
             version = "BitBake Build Tool Core version %s" % bb.__version__,
-            usage = """%prog [options] [recipename/target ...]
+            usage = """%prog [options] [recipename/target recipe:do_task ...]
 
     Executes the specified task (default is 'build') for a given set of target recipes (.bb files).
     It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which
Signature · 1 line
2.1.4