]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
findmnt: (usage) add a needed equals sign before an optional argument
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 11 Sep 2025 13:48:07 +0000 (15:48 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Sep 2025 08:57:09 +0000 (10:57 +0200)
The argument of --kernel is optional, so an '=' is required when an
argument is specified.

Also tweak the wording, and add a semicolon between two phrases.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
misc-utils/findmnt.c

index 463537e69922ded1ee49e2b3e5dcb36c1f3b1954..83989c10ec8dbdc8bb68fa32b178a6e3bc99a97e 100644 (file)
@@ -1533,8 +1533,8 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -F, --tab-file <path>  alternative file for -s, -m or -k options\n"), out);
        fputs(_(" -m, --mtab             search in table of mounted filesystems\n"
                "                          (includes user space mount options)\n"), out);
-       fputs(_(" -k                     alias to '--kernel mountinfo'\n"), out);
-       fputs(_(" --kernel[=<method>]    search in kernel mount table (default)\n"
+       fputs(_(" -k                     an alias for '--kernel=mountinfo'\n"), out);
+       fputs(_(" --kernel[=<method>]    search in kernel mount table (default behavior);\n"
                "                          <method> is mountinfo or listmount\n"), out);
        fputs(_(" -N, --task <tid>       use alternative namespace (/proc/<tid>/mountinfo file)\n"), out);
        fputs(_(" -p, --poll[=<list>]    monitor changes in table of mounted filesystems\n"), out);