[PATCH 1/3] lsmem: (usage) list possible values for <when> like for the other <when>

Benno Schulenberg <[email protected]> Thu, 4 Jun 2026 11:52:50 +0200
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
That is: use vertical bars between the values instead of commas and "or".

(Noticed because of the missing space before "always".)

Signed-off-by: Benno Schulenberg <[email protected]>
---
 sys-utils/lsmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-utils/lsmem.c b/sys-utils/lsmem.c
index d8196215c..c3c39e8cb 100644
--- a/sys-utils/lsmem.c
+++ b/sys-utils/lsmem.c
@@ -678,7 +678,7 @@ static void __attribute__((__noreturn__)) usage(void)
 	fputs(_(" -r, --raw                 use raw output format\n"), out);
 	fputs(_(" -S, --split <list>        split ranges by specified columns\n"), out);
 	fputs(_(" -s, --sysroot <dir>       use the specified directory as system root\n"), out);
-	fputs(_("     --summary[=<when>]    print summary information (never,always or only)\n"), out);
+	fputs(_("     --summary[=<when>]    print summary information (always|never|only)\n"), out);
 
 	fputs(USAGE_SEPARATOR, out);
 	fprintf(out, USAGE_HELP_OPTIONS(27));
-- 
2.54.0