From f5b8f34a0544bca5afed012b4fceb9ac67b37cbc Mon Sep 17 00:00:00 2001 From: Henrixounez Date: Sun, 23 Jun 2019 02:40:36 +0200 Subject: [PATCH] main.v: exits when prompting help --- compiler/main.v | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/main.v b/compiler/main.v index 66e94cb761..31dea33eb3 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -94,6 +94,7 @@ fn main() { } if '-h' in args || '--help' in args || 'help' in args { println(HelpText) + return } // TODO quit if the compiler is too old // u := os.file_last_mod_unix('/var/tmp/alex')