]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(decode_switches): Make -A set really_all_files to zero
authorJim Meyering <jim@meyering.net>
Tue, 29 Oct 1996 12:51:37 +0000 (12:51 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 29 Oct 1996 12:51:37 +0000 (12:51 +0000)
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.

src/ls.c

index bf73b17582f493b0adce2a52f59049436f0e1199..f112e7a33ae61b6cd1a6d058895b660499df5461 100644 (file)
--- 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;