From 39714557dde70c4b1ce8d08c7e1d21fd39a1d1a6 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sun, 30 Aug 2015 17:34:08 +0300 Subject: devtool: build-image: improve help and description Made parser help message and description more clear in build-image plugin. Signed-off-by: Ed Bartosh --- scripts/lib/devtool/build-image.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/lib/devtool/build-image.py b/scripts/lib/devtool/build-image.py index d875715fcd..708120a861 100644 --- a/scripts/lib/devtool/build-image.py +++ b/scripts/lib/devtool/build-image.py @@ -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) -- cgit v1.2.3