summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-09-27 21:39:36 +0000
committerMiles Bader <miles@gnu.org>1995-09-27 21:39:36 +0000
commit45df73eecff7a7f1d81a7e6720e3f42c29c9b514 (patch)
tree74d0c3c9b236d810555427a7c604f41cd54f130b /libshouldbeinlibc
parent18f27c7d239b837e23d91bebe1da33dd0ba3dcd5 (diff)
(options_parse): Use 0 as the tag for non-option args.
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r--libshouldbeinlibc/options.c2
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. */
{