diff options
author | Jim Meyering <jim@meyering.net> | 1998-01-10 12:07:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-01-10 12:07:50 +0000 |
commit | 79d39ab7bf220d7847b8937eb23f3be97169d03f (patch) | |
tree | d01c5ab7e45d7f2d56b936d3728e00a91e288cf6 /src | |
parent | 12782f54b00a6dd5ce9818409bfaeb6db0a6f610 (diff) | |
download | coreutils-79d39ab7bf220d7847b8937eb23f3be97169d03f.tar.xz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1020,6 +1020,7 @@ decode_switches (int argc, char **argv) break; case 'u': + sort_type = sort_time; time_type = time_atime; break; |