]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsmem: (usage) list possible values for <when> like for the other <when>
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 4 Jun 2026 09:52:50 +0000 (11:52 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 8 Jun 2026 11:04:58 +0000 (13:04 +0200)
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 <bensberg@telfort.nl>
sys-utils/lsmem.c

index d8196215ccdefe53ec45436327be031c619d8c69..c3c39e8cbe9a176a1f07f54a39bbf24e1081182a 100644 (file)
@@ -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));