Fixed the issue with -v displaying wrong cause of the lack of break;

This commit is contained in:
Quazar2
2026-03-09 21:40:33 +01:00
parent 93fdf652ed
commit c89d068bab

4
main.c
View File

@@ -15,9 +15,11 @@ int main(int argc, char** argv){
printf("Usage :\nfirst parameter is the name of the program to be killed. it'll then ask you which one that matches do you want to kill\n");
break;
case 'v':
printf("v0.0\n");
printf("v0.1\n");
break;
default:
printf("Unknown option : -%c\n",argv[1][1]);
break;
}
}
else{