summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-08-30 17:34:08 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-31 11:36:52 +0100
commit39714557dde70c4b1ce8d08c7e1d21fd39a1d1a6 (patch)
tree6693a280481292b0f9a6207f60cd2bec87160123 /scripts
parenta1c811df93e831a198464008564ce33ec98a3049 (diff)
downloadopenembedded-core-39714557dde70c4b1ce8d08c7e1d21fd39a1d1a6.tar.gz
openembedded-core-39714557dde70c4b1ce8d08c7e1d21fd39a1d1a6.tar.bz2
openembedded-core-39714557dde70c4b1ce8d08c7e1d21fd39a1d1a6.zip
devtool: build-image: improve help and description
Made parser help message and description more clear in build-image plugin. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/build-image.py10
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):
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)