mirror of
https://git.yoctoproject.org/poky
synced 2026-06-09 03:40:18 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
5001f23ecc
commit
0b850cb231
@@ -73,8 +73,7 @@ def build(args, config, basepath, workspace):
|
||||
def register_commands(subparsers, context):
|
||||
"""Register devtool subcommands from this plugin"""
|
||||
parser_build = subparsers.add_parser('build', help='Build a recipe',
|
||||
description='Builds the specified recipe using bitbake (up to and including do_%s)' % _get_build_task(context.config),
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
description='Builds the specified recipe using bitbake (up to and including do_%s)' % _get_build_task(context.config))
|
||||
parser_build.add_argument('recipename', help='Recipe to build')
|
||||
parser_build.add_argument('-s', '--disable-parallel-make', action="store_true", help='Disable make parallelism')
|
||||
parser_build.set_defaults(func=build)
|
||||
|
||||
Reference in New Issue
Block a user