mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
devtool: build-image: improve help and description
Made parser help message and description more clear in build-image plugin. (From OE-Core rev: 39714557dde70c4b1ce8d08c7e1d21fd39a1d1a6) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e9fbc7a2d2
commit
214dd950c9
@@ -48,7 +48,9 @@ def build_image(args, config, basepath, workspace):
|
|||||||
|
|
||||||
def register_commands(subparsers, context):
|
def register_commands(subparsers, context):
|
||||||
"""Register devtool subcommands from the build-image plugin"""
|
"""Register devtool subcommands from the build-image plugin"""
|
||||||
parser_package = subparsers.add_parser('build-image', help='Build image')
|
parser = subparsers.add_parser('build-image',
|
||||||
parser_package.add_argument('recipe', help='Image recipe to build')
|
help='Build image including workspace recipe packages',
|
||||||
parser_package.set_defaults(func=build_image)
|
description='Builds an image, extending it to include '
|
||||||
|
'packages from recipes in the workspace')
|
||||||
|
parser.add_argument('recipe', help='Image recipe to build')
|
||||||
|
parser.set_defaults(func=build_image)
|
||||||
|
|||||||
Reference in New Issue
Block a user