]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: disambiguate the ls --color description
authorChristoph Anton Mitterer <calestyo@scientia.net>
Thu, 26 Mar 2015 09:49:59 +0000 (09:49 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 26 Mar 2015 09:51:50 +0000 (09:51 +0000)
* src/ls.c (usage): Avoid the implication that the
default ls behavior is to --color=always.
Reported in http://bugs.debian.org/781208

src/ls.c

index d652673ee879339f90d0233cc71852b1c0603517..e406689c4958161cf3c395eec99dfda6f1781e04 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -4801,9 +4801,10 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
 "), stdout);
       fputs (_("\
   -C                         list entries by columns\n\
-      --color[=WHEN]         colorize the output; WHEN can be 'never', 'auto',\
+      --color[=WHEN]         colorize the output; WHEN can be 'always' (default\
+\n\
+                               if omitted), 'auto', or 'never'; more info below\
 \n\
-                               or 'always' (the default); more info below\n\
   -d, --directory            list directories themselves, not their contents\n\
   -D, --dired                generate output designed for Emacs' dired mode\n\
 "), stdout);