summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/cp.c b/src/cp.c
index 8c2ba1ad3..c782d611d 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -119,10 +119,10 @@ static int umask_kill;
static uid_t myeuid;
/* 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_opts[] =
{
@@ -141,8 +141,8 @@ static struct option const long_opts[] =
{"update", no_argument, &flag_update, 1},
{"verbose", no_argument, &flag_verbose, 1},
{"version-control", required_argument, NULL, 'V'},
- {"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 (flag_hard_link && flag_symbolic_link)