[PATCH] doc: disambiguate the ls --color description
From:
Pádraig Brady
Subject:
[PATCH] doc: disambiguate the ls --color description
Date:
Thu, 26 Mar 2015 09:54:25 +0000
From: Christoph Anton Mitterer <address@hidden>
* 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 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ls.c b/src/ls.c
index d652673..e406689 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);
--
2.1.0
[Prev in Thread]
Current Thread
[Next in Thread]
[PATCH] doc: disambiguate the ls --color description,
Pádraig Brady<=