summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.c
diff options
context:
space:
mode:
authorKarel Zak2015-03-05 10:29:10 +0100
committerKarel Zak2015-03-05 10:31:18 +0100
commitbde76c048aaf6fc17f4d6f408a318a13efc32989 (patch)
tree9728230ae4417049d63e4394337cab58b94afb4e /misc-utils/whereis.c
parentlogger: fix -i argument parsing regression (diff)
downloadkernel-qcow2-util-linux-bde76c048aaf6fc17f4d6f408a318a13efc32989.tar.gz
kernel-qcow2-util-linux-bde76c048aaf6fc17f4d6f408a318a13efc32989.tar.xz
kernel-qcow2-util-linux-bde76c048aaf6fc17f4d6f408a318a13efc32989.zip
whereis: make "-BMS <dir> -f" more obvious in usage()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/whereis.c')
-rw-r--r--misc-utils/whereis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index 6e23f7aa1..96a930e60 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -186,7 +186,7 @@ static const char *whereis_type_to_name(int type)
static void __attribute__((__noreturn__)) usage(FILE *out)
{
fputs(USAGE_HEADER, out);
- fprintf(out, _(" %s [options] <file>\n"), program_invocation_short_name);
+ fprintf(out, _(" %s [options] [-BMS <dir>... -f] <name>\n"), program_invocation_short_name);
fputs(USAGE_SEPARATOR, out);
fputs(_("Locate the binary, source, and manual-page files for a command.\n"), out);