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:09:18 +0000 |
commit | cc68971557fe065e59ff47657f650051eb85db3c (patch) | |
tree | 00a1e0a7922fa8b30c49749d581e8891184c8f74 | |
parent | b8406383886d09a80a9a002150dcf364fa9902d7 (diff) | |
download | openembedded-core-cc68971557fe065e59ff47657f650051eb85db3c.tar.gz openembedded-core-cc68971557fe065e59ff47657f650051eb85db3c.tar.bz2 openembedded-core-cc68971557fe065e59ff47657f650051eb85db3c.zip |
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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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): def register_commands(subparsers, context): """Register devtool subcommands from this plugin""" parser_search = subparsers.add_parser('search', help='Search available recipes', - description='Searches for available target recipes. Matches on recipe name, package name, description and installed files, and prints the recipe name on match.', + description='Searches for available recipes. Matches on recipe name, package name, description and installed files, and prints the recipe name and summary on match.', group='info') - parser_search.add_argument('keyword', help='Keyword to search for (regular expression syntax allowed)') + parser_search.add_argument('keyword', help='Keyword to search for (regular expression syntax allowed, use quotes to avoid shell expansion)') parser_search.set_defaults(func=search, no_workspace=True, fixed_setup=context.fixed_setup) |