Util-Linux package development
 help / color / mirror / Atom feed
* [PATCH] findmnt: (usage) add a needed equals sign before an optional argument
@ 2025-09-11 13:48 Benno Schulenberg
  2025-09-11 13:51 ` Benno Schulenberg
  0 siblings, 1 reply; 7+ messages in thread
From: Benno Schulenberg @ 2025-09-11 13:48 UTC (permalink / raw)
  To: util-linux

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 | 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 <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);
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-15 11:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 13:48 [PATCH] findmnt: (usage) add a needed equals sign before an optional argument Benno Schulenberg
2025-09-11 13:51 ` Benno Schulenberg
2025-09-12 13:18   ` Karel Zak
2025-09-12 14:47     ` Benno Schulenberg
2025-09-15  9:22       ` Karel Zak
2025-09-15  9:51         ` Benno Schulenberg
2025-09-15 11:48           ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox