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:
parent
e9fbc7a2d2
commit
214dd950c9
|
@ -48,7 +48,9 @@ def build_image(args, config, basepath, workspace):
|
|||
|
||||
def register_commands(subparsers, context):
|
||||
"""Register devtool subcommands from the build-image plugin"""
|
||||
parser_package = subparsers.add_parser('build-image', help='Build image')
|
||||
parser_package.add_argument('recipe', help='Image recipe to build')
|
||||
parser_package.set_defaults(func=build_image)
|
||||
|
||||
parser = subparsers.add_parser('build-image',
|
||||
help='Build image including workspace recipe packages',
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue