1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

compiler: add output mode for errors and warnings, support for -silent flag

This commit is contained in:
Ned Palacios
2020-05-10 17:26:57 +08:00
committed by GitHub
parent 01de1b6375
commit 5f0ad0f562
6 changed files with 64 additions and 15 deletions

View File

@@ -124,6 +124,9 @@ fn parse_args(args []string) (&pref.Preferences, string) {
'-v' {
res.is_verbose = true
}
'-silent' {
res.output_mode = .silent
}
'-cg' {
res.is_debug = true
}