]> git.ipfire.org Git - thirdparty/util-linux.git/commit
whereis: tell when mandatory option is missing
authorSami Kerola <kerolasa@iki.fi>
Sat, 7 Feb 2015 21:10:51 +0000 (21:10 +0000)
committerSami Kerola <kerolasa@iki.fi>
Tue, 3 Mar 2015 19:35:27 +0000 (19:35 +0000)
commita3d29ee0c7bc638d27666809e02245cacfa031e3
tree2c1dde57205af316bff43857646b3eb1e6bac24d
parentf71d1104df68e9ab7f06878c1c324566721acd66
whereis: tell when mandatory option is missing

The <dirs> list is terminated by any arbitrary option, but to be simple
when none is specified complain about -f being missing.

Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Reviewed-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/whereis.c