diff options
Diffstat (limited to 'scripts/lib/devtool/build-image.py')
-rw-r--r-- | scripts/lib/devtool/build-image.py | 10 |
1 files changed, 6 insertions, 4 deletions
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): | |||
48 | 48 | ||
49 | def register_commands(subparsers, context): | 49 | def register_commands(subparsers, context): |
50 | """Register devtool subcommands from the build-image plugin""" | 50 | """Register devtool subcommands from the build-image plugin""" |
51 | parser_package = subparsers.add_parser('build-image', help='Build image') | 51 | parser = subparsers.add_parser('build-image', |
52 | parser_package.add_argument('recipe', help='Image recipe to build') | 52 | help='Build image including workspace recipe packages', |
53 | parser_package.set_defaults(func=build_image) | 53 | description='Builds an image, extending it to include ' |
54 | 54 | 'packages from recipes in the workspace') | |
55 | parser.add_argument('recipe', help='Image recipe to build') | ||
56 | parser.set_defaults(func=build_image) | ||