]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake-bblayers/create: Fix incorrect priority help message
authorCharlie Davies <charles.davies@whitetree.xyz>
Mon, 15 Feb 2021 20:07:43 +0000 (20:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Mar 2021 22:36:34 +0000 (22:36 +0000)
The help message for the optional argument of setting
the priority of the new layer was incorrect.

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/bblayers/create.py

index 542f31fc813219344a473633db994f87eaf60123..f49b48d1b460994e4066b631caf63c44f4095311 100644 (file)
@@ -71,7 +71,7 @@ class CreatePlugin(LayerPlugin):
     def register_commands(self, sp):
         parser_create_layer = self.add_command(sp, 'create-layer', self.do_create_layer, parserecipes=False)
         parser_create_layer.add_argument('layerdir', help='Layer directory to create')
-        parser_create_layer.add_argument('--priority', '-p', default=6, help='Layer directory to create')
+        parser_create_layer.add_argument('--priority', '-p', default=6, help='Priority of recipes in layer')
         parser_create_layer.add_argument('--example-recipe-name', '-e', dest='examplerecipe', default='example', help='Filename of the example recipe')
         parser_create_layer.add_argument('--example-recipe-version', '-v', dest='version', default='0.1', help='Version number for the example recipe')