]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
column: (usage) correct the description of --wrap-separator
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 18 Sep 2025 08:57:03 +0000 (10:57 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 23 Sep 2025 12:07:09 +0000 (14:07 +0200)
Option --wrap-separator does not imply --table-wrap, but requires it
in order to have any effect.

Also, shorten the text a bit to fit within 80 columns.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
text-utils/column.c

index 656d4f14a1c240ac8a238ed683cc9777ba518610..29ed25b2f5a9453965ac218249d472035665011f 100644 (file)
@@ -1007,7 +1007,7 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_(" -R, --table-right <columns>      right align text in these columns\n"), out);
        fputs(_(" -T, --table-truncate <columns>   truncate text in the columns when necessary\n"), out);
        fputs(_(" -W, --table-wrap <columns>       wrap text in the columns when necessary\n"), out);
-       fputs(_("     --wrap-separator <string>    wrap text at this separator (implies --table-wrap)\n"), out);
+       fputs(_("     --wrap-separator <string>    wrap at this separator (requires --table-wrap)\n"), out);
        fputs(_(" -L, --keep-empty-lines           don't ignore empty lines\n"), out);
        fputs(_(" -J, --json                       use JSON output format for table\n"), out);