summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-11-23 13:34:20 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:32:04 +0000
commit0b850cb231231371b496ae5ee6f7571c3de2f448 (patch)
tree3b084d24611dccee0ff173254646c1e0269845f0 /scripts/lib/devtool/build.py
parent5001f23ecc5f380938cee8d7fcce053ea482d928 (diff)
downloadpoky-0b850cb231231371b496ae5ee6f7571c3de2f448.tar.gz
devtool: clarify help text
* Make some minor clarifications to help text * Drop ArgumentDefaultsHelpFormatter and just put the defaults in the text itself where needed (because otherwise you get defaults shown for store_true options which is somewhat confusing). (From OE-Core rev: a90ffea30c4578fd6acda2c5945b816ad33b13f5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/build.py')
-rw-r--r--scripts/lib/devtool/build.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py
index 0b8e88b817..a9a077882c 100644
--- a/scripts/lib/devtool/build.py
+++ b/scripts/lib/devtool/build.py
@@ -73,8 +73,7 @@ def build(args, config, basepath, workspace):
73def register_commands(subparsers, context): 73def register_commands(subparsers, context):
74 """Register devtool subcommands from this plugin""" 74 """Register devtool subcommands from this plugin"""
75 parser_build = subparsers.add_parser('build', help='Build a recipe', 75 parser_build = subparsers.add_parser('build', help='Build a recipe',
76 description='Builds the specified recipe using bitbake (up to and including do_%s)' % _get_build_task(context.config), 76 description='Builds the specified recipe using bitbake (up to and including do_%s)' % _get_build_task(context.config))
77 formatter_class=argparse.ArgumentDefaultsHelpFormatter)
78 parser_build.add_argument('recipename', help='Recipe to build') 77 parser_build.add_argument('recipename', help='Recipe to build')
79 parser_build.add_argument('-s', '--disable-parallel-make', action="store_true", help='Disable make parallelism') 78 parser_build.add_argument('-s', '--disable-parallel-make', action="store_true", help='Disable make parallelism')
80 parser_build.set_defaults(func=build) 79 parser_build.set_defaults(func=build)