Skip to content

Commit

Permalink
Exit on invalid argument input
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunkeler committed Mar 11, 2024
1 parent 42f1813 commit fd51ac5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,8 @@ int main(int argc, char *argv[], char *arge[]) {
globals.enable_testing = false;
break;
case '?':
break;
default:
printf("unknown option: %c\n", c);
exit(1);
}
}

Expand Down

0 comments on commit fd51ac5

Please sign in to comment.