Without this, the falls through to the next case and throws an
error.
All credit goes to Caleb Connelly for spotting this!
---
main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/main.c b/main.c
index b617bfc..9335c17 100644
--- a/main.c+++ b/main.c
@@ -738,6 +738,7 @@ main(int argc, char *argv[])
exit(1);
}
garbage_collect_threshold = ((int) res) * 1024;
+ break; case '?':
if (optopt == 'd' || optopt == 'l') {
fprintf(stderr, "Option -%c requires an argument.\n", optopt);
--
2.43.0