On Sun, Feb 22, 2015 at 02:41:31PM +0000, Sami Kerola wrote: > misc-utils/whereis.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) Benno is right, see construct_dirlist_from_argv(), the dir list is terminated by arbitrary option, it checks for '-'. The expected use-case is "<dirlist> <search-restriction> <pattern>", for example: whereis -M /usr/share/man/man1 -m ls Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html