From 34df86dc46608f2598c87e854a8b4fb6369129d9 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 29 Nov 2011 10:53:42 +0000 Subject: Make `-i' only apply to regular expressions. For the equality operator (and thus the default), always use strcasestr(). Discussed on tech@ with schwarze@. While here, fix the apropos.c usage() message to be consistent with apropos(1) and clean up the EXAMPLES in apropos(1). --- apropos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apropos.c') diff --git a/apropos.c b/apropos.c index 0d97c82a..939fbce0 100644 --- a/apropos.c +++ b/apropos.c @@ -142,8 +142,8 @@ usage(void) { fprintf(stderr, "usage: %s " - "[-M path] " - "[-m path] " + "[-M manpath] " + "[-m manpath] " "[-S arch] " "[-s section] " "expression...\n", -- cgit