]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: fix a mistruncated message, and fix a typo
authorBenno Schulenberg <bensberg@telfort.nl>
Sun, 6 Apr 2025 15:21:45 +0000 (17:21 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Apr 2025 10:37:27 +0000 (12:37 +0200)
The phrase "in human-readable form" was chosen rather than
"in human-readable format" because it's shorter and lets
the line fit *just* within 80 columns.

Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/lsipc.c
sys-utils/setpriv.c

index d1dd27f354ee31666241428d9fd8e4b2cf43e69c..a89ed4c5cd5c3765eea020220fa690b1ecfa6ce2 100644 (file)
@@ -338,7 +338,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("     --noheadings         don't print headings\n"), out);
        fputs(_("     --notruncate         don't truncate output\n"), out);
        fputs(_("     --time-format=<type> display dates in short, full or iso format\n"), out);
-       fputs(_(" -b, --bytes              print SIZE in bytes rather\n"), out);
+       fputs(_(" -b, --bytes              print SIZE in bytes rather than in human-readable form\n"), out);
        fputs(_(" -c, --creator            show creator and owner\n"), out);
        fputs(_(" -e, --export             display in an export-able output format\n"), out);
        fputs(_(" -J, --json               use the JSON output format\n"), out);
index daa3ab366b17658bdd8ade84cf3da592771199f9..433db603163b045a8c9af28ce248ccdc2fe6dc43 100644 (file)
@@ -1025,7 +1025,7 @@ int main(int argc, char **argv)
                case SECCOMP_FILTER:
                        if (opts.seccomp_filter)
                                errx(EXIT_FAILURE,
-                                    _("duplicate --secccomp-filter option"));
+                                    _("duplicate --seccomp-filter option"));
                        opts.seccomp_filter = optarg;
                        break;
                case RESET_ENV: