aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2025-10-23 12:22:10 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2025-11-08 07:42:34 +0100
commitd549c8be8636dd523358565e573eeba4fc1f928d (patch)
tree838a31ec6401b27b57c0a789c7ae0ee83257872e /coreutils
parent8cafd7a908347a584261ee630fab2ba183273a86 (diff)
downloadbusybox-w32-d549c8be8636dd523358565e573eeba4fc1f928d.tar.gz
busybox-w32-d549c8be8636dd523358565e573eeba4fc1f928d.tar.bz2
busybox-w32-d549c8be8636dd523358565e573eeba4fc1f928d.zip
ls: restore functionality of --color
Since commit 551bfdb97 (ls: implement -q, fix -w0, reduce startup time) the '--color' option behaves as though the default argument 'always' had been specified. This is due to an explicit short option for '--color' being given, but without specifying that an argument is expected. function old new delta .rodata 106027 106029 +2 Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index c24561576..40017efc6 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -231,7 +231,7 @@ SPLIT_SUBDIR = 2,
231 IF_FEATURE_LS_WIDTH("T:w:") /* 2, 28 */ \ 231 IF_FEATURE_LS_WIDTH("T:w:") /* 2, 28 */ \
232 IF_LONG_OPTS("\xff") /* 1, 29 */ \ 232 IF_LONG_OPTS("\xff") /* 1, 29 */ \
233 IF_LONG_OPTS("\xfe") /* 1, 30 */ \ 233 IF_LONG_OPTS("\xfe") /* 1, 30 */ \
234 IF_LONG_OPTS("\xfd") /* 1, 31 */ \ 234 IF_LONG_OPTS("\xfd::") /* 1, 31 */ \
235 "qk" /* 2, 33 */ 235 "qk" /* 2, 33 */
236 236
237#if ENABLE_LONG_OPTS 237#if ENABLE_LONG_OPTS