summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-10-29 12:51:37 +0000
committerJim Meyering <jim@meyering.net>1996-10-29 12:51:37 +0000
commitd7749da3e931615bf3d03026425b4bdd5cf8b0da (patch)
tree5d9d5df96bb6dbdc20c34b623f140ca1d9e5d87a /src
parent84b8cf9fcf25a4e288841f690879a898417b7d99 (diff)
downloadcoreutils-d7749da3e931615bf3d03026425b4bdd5cf8b0da.tar.xz
(decode_switches): Make -A set really_all_files to zero
as well as setting all_files to 1. With this change, ls -f -A prints everything but . and .., unsorted. Before, the -A was effectively ignored. From Karl Berry.
Diffstat (limited to 'src')
-rw-r--r--src/ls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ls.c b/src/ls.c
index bf73b1758..f112e7a33 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -957,6 +957,7 @@ decode_switches (int argc, char **argv)
break;
case 'A':
+ really_all_files = 0;
all_files = 1;
break;