diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-10-23 12:22:10 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-11-08 07:42:34 +0100 |
| commit | d549c8be8636dd523358565e573eeba4fc1f928d (patch) | |
| tree | 838a31ec6401b27b57c0a789c7ae0ee83257872e /coreutils/ls.c | |
| parent | 8cafd7a908347a584261ee630fab2ba183273a86 (diff) | |
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/ls.c')
| -rw-r--r-- | coreutils/ls.c | 2 |
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, IF_FEATURE_LS_WIDTH("T:w:") /* 2, 28 */ \ IF_LONG_OPTS("\xff") /* 1, 29 */ \ IF_LONG_OPTS("\xfe") /* 1, 30 */ \ - IF_LONG_OPTS("\xfd") /* 1, 31 */ \ + IF_LONG_OPTS("\xfd::") /* 1, 31 */ \ "qk" /* 2, 33 */ #if ENABLE_LONG_OPTS |
