diff options
author | Miles Bader <miles@gnu.org> | 1995-09-27 21:39:36 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-09-27 21:39:36 +0000 |
commit | 45df73eecff7a7f1d81a7e6720e3f42c29c9b514 (patch) | |
tree | 74d0c3c9b236d810555427a7c604f41cd54f130b /libshouldbeinlibc | |
parent | 18f27c7d239b837e23d91bebe1da33dd0ba3dcd5 (diff) |
(options_parse): Use 0 as the tag for non-option args.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r-- | libshouldbeinlibc/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/options.c b/libshouldbeinlibc/options.c index b4d1d51b..5f719616 100644 --- a/libshouldbeinlibc/options.c +++ b/libshouldbeinlibc/options.c @@ -190,7 +190,7 @@ options_parse (struct options *options, if (opt == 1) /* A non-option argument; try each parser in turn. */ for (o = options; o != NULL && err == EINVAL; o = o->parent) - err = (*o->parser)(opt, optarg); + err = (*o->parser)(0, optarg); else if (group == 0) /* A short option. */ { |