From 17062dc5c847b5fac99e3793639149dd9c0294e9 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 2 Feb 2021 12:24:25 +0200 Subject: [PATCH] v.pref: support `-obf` in addition to `-obfuscate`, as described in `v help build` --- vlib/v/pref/pref.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/pref/pref.v b/vlib/v/pref/pref.v index a15b183f72..8a5af4d7fd 100644 --- a/vlib/v/pref/pref.v +++ b/vlib/v/pref/pref.v @@ -257,7 +257,7 @@ pub fn parse_args(args []string) (&Preferences, string) { '-stats' { res.is_stats = true } - '-obfuscate' { + '-obf', '-obfuscate' { res.obfuscate = true } '-translated' {