summaryrefslogtreecommitdiff
path: root/coreutils/Config.in
diff options
context:
space:
mode:
authorPaul Fox2005-08-01 19:33:30 +0000
committerPaul Fox2005-08-01 19:33:30 +0000
commit156dc41cbc5f6d063ee641d4bb18055f4ae1e3f5 (patch)
tree7c84655b2121802fc8e6af14156b606ec041a054 /coreutils/Config.in
parentfc2256a6ca7f943d671edaceac1ed1dfe3d1751c (diff)
downloadbusybox-156dc41cbc5f6d063ee641d4bb18055f4ae1e3f5.zip
busybox-156dc41cbc5f6d063ee641d4bb18055f4ae1e3f5.tar.gz
commiting patch from bug 71:
0000071: patch: implement "--color" option for ls coloring control
Diffstat (limited to 'coreutils/Config.in')
-rw-r--r--coreutils/Config.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in
index 79081e5..49b884b 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -304,11 +304,23 @@ config CONFIG_FEATURE_LS_USERNAME
Allow ls to display username/groupname for files.
config CONFIG_FEATURE_LS_COLOR
- bool " Use color to identify file types"
+ bool " Allow use of color to identify file types"
default y
depends on CONFIG_LS
help
- Allow ls to use color when displaying files.
+ This enables the --color option to ls.
+
+if CONFIG_FEATURE_LS_COLOR
+ config CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
+ bool " Produce colored ls output by default"
+ default n
+ help
+ Saying yes here will turn coloring on by default,
+ even if no "--color" option is given to the ls command.
+ This is not recommended, since the colors are not
+ configurable, and the output may not be legible on
+ many output screens.
+endif
config CONFIG_MD5SUM
bool "md5sum"