cmd/v: handle -cc and -cg

pull/4204/head
Alexander Medvednikov 2020-04-02 17:55:00 +02:00
parent d228b3916b
commit e305757d07
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ fn parse_args(args []string) (&pref.Preferences, string) {
arg := args[i]
match arg {
'-v' { res.is_verbose = true }
'-cg' {
'-cg' { res.is_debug = true }
'-cc' {
res.ccompiler = cmdline.option(args, '-cc', 'cc')
i++
}