From 3bfb96365dc7a7971f4cc941e95e1ce0d1f288c7 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 16 Mar 2013 20:12:49 +0000 Subject: whereis: add search scope listing option Mostly useful when debugging why the command does, or does not, work. Signed-off-by: Sami Kerola Signed-off-by: Karel Zak --- misc-utils/whereis.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'misc-utils/whereis.1') diff --git a/misc-utils/whereis.1 b/misc-utils/whereis.1 index 86e6a39b6..9b33999c4 100644 --- a/misc-utils/whereis.1 +++ b/misc-utils/whereis.1 @@ -91,7 +91,16 @@ be used when any of the or .BR \-S options is used. - +.IP "\fB\-l" +Output list of effective lookup paths the +.B whereis +is using. When non of +.BR \-B , +.BR \-M , +or +.BR \-S +is specified the option will out hard coded paths that the command was +able to find on system. .SH EXAMPLE To find all files in .B /usr/bin -- cgit v1.2.3-55-g7522