diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-02-26 14:50:01 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-01 22:13:56 +0000 |
commit | 80feb637a451e67e1da5789910027e9f6f664f00 (patch) | |
tree | 21d9458034faeb217c162b3feca62ec2b43d8793 /scripts/lib/devtool | |
parent | e8c7c36c60da20df4e261f27b1606f8e2aa2e441 (diff) | |
download | poky-80feb637a451e67e1da5789910027e9f6f664f00.tar.gz |
devtool: search: tweak help text
* We now match on more than just target recipes, so don't specify that
only target recipes are searched.
* We're printing the SUMMARY value in addition to the name, so mention
that so it's clear where that text is coming from.
* Remind users that they should use quotes around the keyword to avoid
shell expansion when using regular expressions.
(From OE-Core rev: cc68971557fe065e59ff47657f650051eb85db3c)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r-- | scripts/lib/devtool/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/devtool/search.py b/scripts/lib/devtool/search.py index b51a7b8020..b4f209b7e3 100644 --- a/scripts/lib/devtool/search.py +++ b/scripts/lib/devtool/search.py | |||
@@ -112,7 +112,7 @@ def search(args, config, basepath, workspace): | |||
112 | def register_commands(subparsers, context): | 112 | def register_commands(subparsers, context): |
113 | """Register devtool subcommands from this plugin""" | 113 | """Register devtool subcommands from this plugin""" |
114 | parser_search = subparsers.add_parser('search', help='Search available recipes', | 114 | parser_search = subparsers.add_parser('search', help='Search available recipes', |
115 | description='Searches for available target recipes. Matches on recipe name, package name, description and installed files, and prints the recipe name on match.', | 115 | description='Searches for available recipes. Matches on recipe name, package name, description and installed files, and prints the recipe name and summary on match.', |
116 | group='info') | 116 | group='info') |
117 | parser_search.add_argument('keyword', help='Keyword to search for (regular expression syntax allowed)') | 117 | parser_search.add_argument('keyword', help='Keyword to search for (regular expression syntax allowed, use quotes to avoid shell expansion)') |
118 | parser_search.set_defaults(func=search, no_workspace=True, fixed_setup=context.fixed_setup) | 118 | parser_search.set_defaults(func=search, no_workspace=True, fixed_setup=context.fixed_setup) |