diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-11-23 13:34:20 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:30:55 +0000 |
commit | a90ffea30c4578fd6acda2c5945b816ad33b13f5 (patch) | |
tree | 8f5080743d75dba8c7f2c7d202426c9ac4c8f0b4 /scripts/lib/devtool/build.py | |
parent | 142d006de3235a034839ef7bbe147c56fc7af04a (diff) | |
download | openembedded-core-a90ffea30c4578fd6acda2c5945b816ad33b13f5.tar.gz openembedded-core-a90ffea30c4578fd6acda2c5945b816ad33b13f5.tar.bz2 openembedded-core-a90ffea30c4578fd6acda2c5945b816ad33b13f5.zip |
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).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/build.py')
-rw-r--r-- | scripts/lib/devtool/build.py | 3 |
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): 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) |