summaryrefslogtreecommitdiff
path: root/src/ls.c
diff options
context:
space:
mode:
authorChristoph Anton Mitterer <calestyo@scientia.net>2015-03-26 09:49:59 +0000
committerPádraig Brady <P@draigBrady.com>2015-03-26 09:51:50 +0000
commit41d0fc1c37c68ae1a343965d9858c97e15a3cb9c (patch)
tree1a10dd03cd579189e4b867979c955b969bc14689 /src/ls.c
parentbf11fd17a9cdd595fae7dac262a9436b60a1bb8d (diff)
downloadcoreutils-41d0fc1c37c68ae1a343965d9858c97e15a3cb9c.tar.xz
doc: disambiguate the ls --color description
* src/ls.c (usage): Avoid the implication that the default ls behavior is to --color=always. Reported in http://bugs.debian.org/781208
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ls.c b/src/ls.c
index d652673ee..e406689c4 100644
--- 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);