summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp-parse.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-06-05 02:32:36 +0000
committerMiles Bader <miles@gnu.org>1997-06-05 02:32:36 +0000
commitc32f45f5878a95f450553c7b70184dd327a590a9 (patch)
treee8e7ebc1a4395b9ea2338c1029bff50a99995ae6 /libshouldbeinlibc/argp-parse.c
parent365ea1090602389a3b18cbc65cada27b08bd4fb1 (diff)
Sync with libc version (there were minor whitespace differences, etc).
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 0382fd4e..edc55168 100644
--- a/libshouldbeinlibc/argp-parse.c
+++ b/libshouldbeinlibc/argp-parse.c
@@ -576,7 +576,7 @@ parser_init (struct parser *parser, const struct argp *argp,
parser->state.argv--, parser->state.argc++;
}
else
- opterr = 1; /* Print error messages. */
+ opterr = 1; /* Print error messages. */
if (parser->state.argv == argv && argv[0])
/* There's an argv[0]; use it for messages. */
@@ -755,7 +755,7 @@ parser_parse_next (struct parser *parser, int *arg_ebadkey)
/* Give getopt a chance to parse this. */
{
optind = parser->state.next; /* Put it back in OPTIND for getopt. */
- optopt = KEY_END; /* Distinguish KEY_ERR from a real option. */
+ optopt = KEY_END; /* Distinguish KEY_ERR from a real option. */
if (parser->state.flags & ARGP_LONG_ONLY)
opt = getopt_long_only (parser->state.argc, parser->state.argv,
parser->short_opts, parser->long_opts, 0);