diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-02-05 14:04:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-08 08:00:27 +0000 |
commit | a3dfb70b62bcb7c0a94136abbe589ffc8715c6b5 (patch) | |
tree | de09b7bbfac4989406033ea27fb93b682ea09d8a /scripts/recipetool | |
parent | 943353707bb61ab5e45ee0efb8fd0b8e5a0bce52 (diff) | |
download | poky-a3dfb70b62bcb7c0a94136abbe589ffc8715c6b5.tar.gz |
recipetool: improve command-line help
Based on feedback from Scott Rifenbark <scott.m.rifenbark@intel.com>
(From OE-Core rev: 2c59b2b20c32577085645056e4cbf4f9c259e4d7)
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/recipetool')
-rwxr-xr-x | scripts/recipetool | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/recipetool b/scripts/recipetool index 70e6b6c877..2cfa763201 100755 --- a/scripts/recipetool +++ b/scripts/recipetool | |||
@@ -49,11 +49,11 @@ def main(): | |||
49 | sys.exit(1) | 49 | sys.exit(1) |
50 | 50 | ||
51 | parser = argparse.ArgumentParser(description="OpenEmbedded recipe tool", | 51 | parser = argparse.ArgumentParser(description="OpenEmbedded recipe tool", |
52 | epilog="Use %(prog)s <command> --help to get help on a specific command") | 52 | epilog="Use %(prog)s <subcommand> --help to get help on a specific command") |
53 | parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true') | 53 | parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true') |
54 | parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true') | 54 | parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true') |
55 | parser.add_argument('--color', help='Colorize output', choices=['auto', 'always', 'never'], default='auto') | 55 | parser.add_argument('--color', choices=['auto', 'always', 'never'], default='auto', help='Colorize output (where %(metavar)s is %(choices)s)', metavar='COLOR') |
56 | subparsers = parser.add_subparsers() | 56 | subparsers = parser.add_subparsers(title='subcommands', metavar='<subcommand>') |
57 | 57 | ||
58 | scriptutils.load_plugins(logger, plugins, os.path.join(scripts_path, 'lib', 'recipetool')) | 58 | scriptutils.load_plugins(logger, plugins, os.path.join(scripts_path, 'lib', 'recipetool')) |
59 | registered = False | 59 | registered = False |