summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libshouldbeinlibc/argp-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/argp-parse.c b/libshouldbeinlibc/argp-parse.c
index 60881c58..fa3da19f 100644
--- a/libshouldbeinlibc/argp-parse.c
+++ b/libshouldbeinlibc/argp-parse.c
@@ -218,7 +218,7 @@ argp_parse (struct argp *argp, int argc, char **argv, unsigned flags,
if (real->arg)
{
*short_end++ = ':';
- if (! (real->flags & OPTION_ARG_OPTIONAL))
+ if (real->flags & OPTION_ARG_OPTIONAL)
*short_end++ = ':';
}
*short_end = '\0'; /* keep 0 terminated */