From 79d39ab7bf220d7847b8937eb23f3be97169d03f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Jan 1998 12:07:50 +0000 Subject: [PATCH] (decode_switches) [-u]: Fix bug whereby -u had no effect without -l or -t. Now, -u (like -c) implies --sort=time. Suggestion from Andreas Schwab. --- src/ls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ls.c b/src/ls.c index 561d52a16a..d2ee0a75f4 100644 --- a/src/ls.c +++ b/src/ls.c @@ -1020,6 +1020,7 @@ decode_switches (int argc, char **argv) break; case 'u': + sort_type = sort_time; time_type = time_atime; break; -- 2.47.3