diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-08-30 17:34:08 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-31 11:37:12 +0100 |
| commit | 214dd950c93d739dc040e238ef086fed1bfe3e8d (patch) | |
| tree | 76c96f456b58b52369c4c96a2adc0a0a4c7d435b /scripts/lib/devtool/build-image.py | |
| parent | e9fbc7a2d2bf16566770ba49b3e09aa936e61cd3 (diff) | |
| download | poky-214dd950c93d739dc040e238ef086fed1bfe3e8d.tar.gz | |
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>
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) | ||
