v.pref: support `-obf` in addition to `-obfuscate`, as described in `v help build`

pull/8513/head
Delyan Angelov 2021-02-02 12:24:25 +02:00
parent 5aaeac79fa
commit 17062dc5c8
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ pub fn parse_args(args []string) (&Preferences, string) {
'-stats' { '-stats' {
res.is_stats = true res.is_stats = true
} }
'-obfuscate' { '-obf', '-obfuscate' {
res.obfuscate = true res.obfuscate = true
} }
'-translated' { '-translated' {