Browse Source

[PATCH] clarify menuconfig /(search) help text

Add explicit text about
- where menuconfig '/' (search) searches for strings,
- that substrings are allowed, and
- that regular expressions are supported.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Randy Dunlap 19 years ago
parent
commit
503af334ec
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scripts/kconfig/mconf.c

+ 2 - 1
scripts/kconfig/mconf.c

@@ -219,6 +219,7 @@ save_config_help[] = N_(
 search_help[] = N_(
 search_help[] = N_(
 	"\n"
 	"\n"
 	"Search for CONFIG_ symbols and display their relations.\n"
 	"Search for CONFIG_ symbols and display their relations.\n"
+	"Regular expressions are allowed.\n"
 	"Example: search for \"^FOO\"\n"
 	"Example: search for \"^FOO\"\n"
 	"Result:\n"
 	"Result:\n"
 	"-----------------------------------------------------------------\n"
 	"-----------------------------------------------------------------\n"
@@ -531,7 +532,7 @@ again:
 	cprint("--title");
 	cprint("--title");
 	cprint(_("Search Configuration Parameter"));
 	cprint(_("Search Configuration Parameter"));
 	cprint("--inputbox");
 	cprint("--inputbox");
-	cprint(_("Enter Keyword"));
+	cprint(_("Enter CONFIG_ (sub)string to search for (omit CONFIG_)"));
 	cprint("10");
 	cprint("10");
 	cprint("75");
 	cprint("75");
 	cprint("");
 	cprint("");