summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp-parse.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-10 17:16:24 +0000
committerMiles Bader <miles@gnu.org>1996-07-10 17:16:24 +0000
commita3dd6221aa8eacf467014534b90feb18f7938fa3 (patch)
tree56aaab80ea36b8b107d6781bff40f159a9952d65 /libshouldbeinlibc/argp-parse.c
parentfd2bf194fdb8839fcfe82cdda30b5831a8841229 (diff)
(argp_version_options, argp_version_parser):
Use an uppercase 'V' for short version option.
Diffstat (limited to 'libshouldbeinlibc/argp-parse.c')
-rw-r--r--libshouldbeinlibc/argp-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshouldbeinlibc/argp-parse.c b/libshouldbeinlibc/argp-parse.c
index f8801681..73b28f06 100644
--- a/libshouldbeinlibc/argp-parse.c
+++ b/libshouldbeinlibc/argp-parse.c
@@ -116,7 +116,7 @@ static const struct argp argp_default_argp =
static const struct argp_option argp_version_options[] =
{
- {"version", 'v', 0, 0, "Print program version", -1},
+ {"version", 'V', 0, 0, "Print program version", -1},
{0, 0}
};
@@ -125,7 +125,7 @@ argp_version_parser (int key, char *arg, struct argp_state *state)
{
switch (key)
{
- case 'v':
+ case 'V':
if (argp_program_version_hook)
(*argp_program_version_hook) (state->out_stream, state);
else if (argp_program_version)