From c89d068bab15cc8e51fce9a6eb504a98566c50f3 Mon Sep 17 00:00:00 2001 From: Quazar2 Date: Mon, 9 Mar 2026 21:40:33 +0100 Subject: [PATCH] Fixed the issue with -v displaying wrong cause of the lack of break; --- main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index fe762b6..3dde233 100644 --- a/main.c +++ b/main.c @@ -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"); - default: - printf("Unknown option : -%c\n",argv[1][1]); + printf("v0.1\n"); + break; + default: + printf("Unknown option : -%c\n",argv[1][1]); + break; } } else{