exit when a non-existent option was found

This commit is contained in:
tTh committed 2023-05-28 10:49:12 +02:00
1 parent cb599a253c
commit 58e782de84
2 files changed
+2

No files matched your search

+1
View File
@@ -229,6 +229,7 @@ while ((opt = getopt(argc, argv, "B:E:F:ghI:LO:T:vw:x:")) != -1) {
break;
case 'v': verbosity++;
break;
default: exit(1);
}
}