From c30eaf5e57b7d07095737944a028a777ad13938e Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 23 Sep 2015 10:40:12 +0200 Subject: [PATCH] Fix #2337 - Do not show config vars in /? --- libr/core/cmd_search.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libr/core/cmd_search.c b/libr/core/cmd_search.c index 2826c5c037..f18416e7da 100644 --- a/libr/core/cmd_search.c +++ b/libr/core/cmd_search.c @@ -2134,7 +2134,7 @@ reread: break; default:{ const char* help_msg[] = { - "Usage:", "/[amx/] [arg]", "Search", + "Usage:", "/[amx/] [arg]", "Search stuff (see 'e??search' for options)", "/"," foo\\x00", "search for string 'foo\\0'", "/j"," foo\\x00", "search for string 'foo\\0' (json output)", "/!", " ff", "search for first occurrence not matching", @@ -2165,6 +2165,7 @@ reread: "/x"," ff0033", "search for hex string", "/x"," ff43 ffd0", "search for hexpair with mask", "/z"," min max", "search for strings of given size", +#if 0 "\nConfiguration:", "", " (type `e??search.` for a complete list)", "e", " cmd.hit = x", "command to execute on every search hit", "e", " search.in = ?", "specify where to search stuff (depends on .from/.to)", @@ -2172,6 +2173,7 @@ reread: "e", " search.from = 0", "start address", "e", " search.to = 0", "end address", "e", " search.flags = true", "if enabled store flags on keyword hits", +#endif NULL}; r_core_cmd_help (core, help_msg); }