mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
main.v: exits when prompting help
This commit is contained in:
parent
e9776ff7b2
commit
f5b8f34a05
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
if '-h' in args || '--help' in args || 'help' in args {
|
if '-h' in args || '--help' in args || 'help' in args {
|
||||||
println(HelpText)
|
println(HelpText)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
// TODO quit if the compiler is too old
|
// TODO quit if the compiler is too old
|
||||||
// u := os.file_last_mod_unix('/var/tmp/alex')
|
// u := os.file_last_mod_unix('/var/tmp/alex')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue