summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-08-05 02:20:48 +0000
committerJim Meyering <jim@meyering.net>1993-08-05 02:20:48 +0000
commit410da16d0250bcf31c51a160de9eccb92667c7fe (patch)
treefb530f65b6ee0bc13a6cc8c1e9f576d9d92d447f /src/du.c
parent08701d38a4c4e746e79132651c4577a6c03b02f6 (diff)
downloadcoreutils-410da16d0250bcf31c51a160de9eccb92667c7fe.tar.xz
merge with 3.8.1
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/du.c b/src/du.c
index 2aaf5130f..4eb59c120 100644
--- a/src/du.c
+++ b/src/du.c
@@ -156,10 +156,10 @@ static int (*xstat) ();
static int exit_status;
/* If non-zero, display usage information and exit. */
-static int flag_help;
+static int show_help;
/* If non-zero, print the version on standard error. */
-static int flag_version;
+static int show_version;
static struct option const long_options[] =
{
@@ -173,8 +173,8 @@ static struct option const long_options[] =
{"separate-dirs", no_argument, &opt_separate_dirs, 1},
{"summarize", no_argument, &opt_summarize_only, 1},
{"total", no_argument, &opt_combined_arguments, 1},
- {"help", no_argument, &flag_help, 1},
- {"version", no_argument, &flag_version, 1},
+ {"help", no_argument, &show_help, 1},
+ {"version", no_argument, &show_version, 1},
{NULL, 0, NULL, 0}
};
@@ -258,13 +258,13 @@ main (argc, argv)
}
}
- if (flag_version)
+ if (show_version)
{
fprintf (stderr, "%s\n", version_string);
exit (0);
}
- if (flag_help)
+ if (show_help)
usage (NULL);
if (opt_all && opt_summarize_only)