From: Pádraig Brady
Date: Wed, 29 Jan 2025 11:33:25 +0000 (+0000) Subject: doc: ls: clarify --format options X-Git-Tag: v9.7~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63b780afce674803a1d8eeca2697814ae495d794;p=thirdparty%2Fcoreutils.git doc: ls: clarify --format options * src/ls.c (usage): Use parentheses to be less ambiguous as to what are WORDs and equivalent short options. This is also consistent with the description of --sort and --indicator-style. Fixes https://bugs.gnu.org/75916 --- diff --git a/src/ls.c b/src/ls.c index f67167f160..1bc85f4655 100644 --- a/src/ls.c +++ b/src/ls.c @@ -5425,8 +5425,8 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\ --file-type likewise, except do not append '*'\n\ "), stdout); fputs (_("\ - --format=WORD across -x, commas -m, horizontal -x, long -l,\n\ - single-column -1, verbose -l, vertical -C\n\ + --format=WORD across,horizontal (-x), commas (-m), long (-l),\n\ + single-column (-1), verbose (-l), vertical (-C)\n\ \n\ "), stdout); fputs (_("\