summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lex.c b/lex.c
index 6923b20..28343a6 100644
--- a/lex.c
+++ b/lex.c
@@ -334,6 +334,10 @@ int main(int argc, char *argv[])
break;
default:
+ if (optopt == 'c') {
+ fprintf(stderr, "ignoring obsolete option -c\n");
+ break;
+ }
return 1;
}
}