aboutsummaryrefslogtreecommitdiff
path: root/lib/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/args.c')
-rw-r--r--lib/args.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/args.c b/lib/args.c
index d0b483af..b385dd48 100644
--- a/lib/args.c
+++ b/lib/args.c
@@ -327,6 +327,7 @@ void parse_optflaglist(struct getoptflagstate *gof)
for (new = gof->opts; new; new = new->next) {
unsigned u = 1<<idx++;
+ if (new->c == 1) new->c = 0;
new->dex[1] = u;
if (new->flags & 1) gof->requires |= u;
if (new->type) {