aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index faebe46..5f224fe 100644
--- a/main.c
+++ b/main.c
@@ -124,6 +124,7 @@ int main(int argc, char **argv) {
case 's': mode = PRINT_SSA; break;
case 'm': mode = PRINT_SEM; break;
case 'h': print_help(); return 0;
+ default: print_help(); return 0;
}
}
if (optind == argc - 1)