summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-08-20 09:55:23 +0000
committerJim Meyering <jim@meyering.net>2000-08-20 09:55:23 +0000
commitf9850882f14461aa215ae1f5caa54d3d37e01ce0 (patch)
tree738bebd885ef36f940340ed01550c5b99f6648c0 /src
parent5d0d80fc276d6683bd81f583af48bc9ab581d477 (diff)
downloadcoreutils-f9850882f14461aa215ae1f5caa54d3d37e01ce0.tar.xz
(print_totals): Rename global from opt_combined_arguments.
Diffstat (limited to 'src')
-rw-r--r--src/du.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/du.c b/src/du.c
index 97d6257de..63b5d6194 100644
--- a/src/du.c
+++ b/src/du.c
@@ -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':