From: Charlie Davies Date: Mon, 15 Feb 2021 20:07:43 +0000 (+0000) Subject: bitbake-bblayers/create: Fix incorrect priority help message X-Git-Tag: 2020-04.7-dunfell~40 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4557255a95f9aac8c1e955c078ca05f995c1299c;p=openembedded-core.git bitbake-bblayers/create: Fix incorrect priority help message The help message for the optional argument of setting the priority of the new layer was incorrect. Signed-off-by: Charlie Davies Signed-off-by: Richard Purdie (cherry picked from commit d10d928c6030951994bc2404cde78137c86917a4) Signed-off-by: Steve Sakoman --- diff --git a/meta/lib/bblayers/create.py b/meta/lib/bblayers/create.py index 542f31fc81..f49b48d1b4 100644 --- a/meta/lib/bblayers/create.py +++ b/meta/lib/bblayers/create.py @@ -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')