aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mkflags.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mkflags.c b/scripts/mkflags.c
index e0e833ce..c96f7f55 100644
--- a/scripts/mkflags.c
+++ b/scripts/mkflags.c
@@ -110,6 +110,7 @@ struct flag *digest(char *string)
if (strchr("?&^-:#|@*; ", *string)) string++;
else if (strchr("=<>", *string)) {
+ if (string[1]=='-') string++;
if (!isdigit(string[1])) {
fprintf(stderr, "%c without number in '%s'", *string, err);
exit(1);