main.v: exits when prompting help

pull/387/head
Henrixounez 2019-06-23 02:40:36 +02:00 committed by Alex Medvednikov
parent e9776ff7b2
commit f5b8f34a05
1 changed files with 1 additions and 0 deletions

View File

@ -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')