diff options
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. */ { |