.IP "\fB\-M \fIlist\fP"
Limit the places where
.B whereis
-searches for manuals, by a whitespace-separated list of directories.
+searches for manuals and documentation in Info format, by a
+whitespace-separated list of directories.
.IP "\fB\-S \fIlist\fP"
Limit the places where
.B whereis
"/usr/X11/man/*",
"/usr/TeX/man/*",
"/usr/interviews/man/mann",
+ "/usr/share/info",
NULL
};
fputs(USAGE_OPTIONS, out);
fputs(_(" -b search only for binaries\n"), out);
fputs(_(" -B <dirs> define binaries lookup path\n"), out);
- fputs(_(" -m search only for manuals\n"), out);
- fputs(_(" -M <dirs> define man lookup path\n"), out);
+ fputs(_(" -m search only for manuals and infos\n"), out);
+ fputs(_(" -M <dirs> define man and info lookup path\n"), out);
fputs(_(" -s search only for sources\n"), out);
fputs(_(" -S <dirs> define sources lookup path\n"), out);
fputs(_(" -f terminate <dirs> argument list\n"), out);
{
int i = strlen(dp);
- /*DBG(printf("compare '%s' and '%s'", cp, dp));*/
+ DBG(SEARCH, ul_debug("compare '%s' and '%s'", cp, dp));
if (dp[0] == 's' && dp[1] == '.' && filename_equal(cp, dp + 2))
return 1;