]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
whereis: make "-BMS <dir> -f" more obvious in usage()
authorKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2015 09:29:10 +0000 (10:29 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Mar 2015 09:31:18 +0000 (10:31 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/whereis.c

index 6e23f7aa114db2d1dd664cc7e55856487d679a92..96a930e602acc0c4f371a5a7a9b956369e71d712 100644 (file)
@@ -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);