diff options
-rw-r--r-- | scripts/mkflags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mkflags.c b/scripts/mkflags.c index 1cad5bf..748e93d 100644 --- a/scripts/mkflags.c +++ b/scripts/mkflags.c @@ -44,7 +44,7 @@ struct flag *digest(char *string) blank->lopt = new; list = blank; } - while (*++string != ')'); // An empty longopt () would break this. + while (*++string != ')') if (*string == '-') *string = '_'; // An empty longopt () would break this. *(string++) = 0; continue; } |