From 41c1dc60903803c2a4d7f286012f8e96ff06990f Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 11 Sep 2025 15:48:07 +0200 Subject: [PATCH] findmnt: (usage) add a needed equals sign before an optional argument 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 --- misc-utils/findmnt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index 463537e69..83989c10e 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -1533,8 +1533,8 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" -F, --tab-file 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[=] search in kernel mount table (default)\n" + fputs(_(" -k an alias for '--kernel=mountinfo'\n"), out); + fputs(_(" --kernel[=] search in kernel mount table (default behavior);\n" " is mountinfo or listmount\n"), out); fputs(_(" -N, --task use alternative namespace (/proc//mountinfo file)\n"), out); fputs(_(" -p, --poll[=] monitor changes in table of mounted filesystems\n"), out); -- 2.47.3