bore

basic core utilities (PD)
git clone git://bvnf.space/bore.git
Log | Files | Refs | README

commit 1f02af46c09ef8d5015872653dde6cfd35643b1b
parent a66b222a921936adfca3f25cfb855dcc06766d14
Author: phoebos <ben@bvnf.space>
Date:   Wed, 22 Dec 2021 03:13:37 +0000

ls: make -S and -t mutually exclusive

Diffstat:
Mls.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/ls.c b/ls.c @@ -381,6 +381,7 @@ main(int argc, char **argv) { break; case 'S': flags |= FLAG_S; + flags &= ~FLAG_t; break; case 'a': flags |= FLAG_a; @@ -430,6 +431,7 @@ main(int argc, char **argv) { break; case 't': flags |= FLAG_t; + flags &= ~FLAG_S; break; } }