diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-20 09:55:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-20 09:55:23 +0000 |
commit | f9850882f14461aa215ae1f5caa54d3d37e01ce0 (patch) | |
tree | 738bebd885ef36f940340ed01550c5b99f6648c0 /src/du.c | |
parent | 5d0d80fc276d6683bd81f583af48bc9ab581d477 (diff) | |
download | coreutils-f9850882f14461aa215ae1f5caa54d3d37e01ce0.tar.xz |
(print_totals): Rename global from opt_combined_arguments.
Diffstat (limited to 'src/du.c')
-rw-r--r-- | src/du.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -123,7 +123,7 @@ static int opt_count_all = 0; static int opt_one_file_system = 0; /* If nonzero, print a grand total at the end. */ -static int opt_combined_arguments = 0; +static int print_totals = 0; /* If nonzero, do not add sizes of subdirectories. */ static int opt_separate_dirs = 0; @@ -628,13 +628,13 @@ du_files (char **files) else str_copyc (path, arg); - if (!opt_combined_arguments) + if (!print_totals) hash_reset (); count_entry (arg, 1, 0, 0); } - if (opt_combined_arguments) + if (print_totals) print_size (tot_size, _("total")); } @@ -681,7 +681,7 @@ main (int argc, char **argv) break; case 'c': - opt_combined_arguments = 1; + print_totals = 1; break; case 'h': |