From 668483ee56637fac5b860d25cf4fe70895db1b85 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 11 Dec 2020 09:28:34 +0200 Subject: [PATCH] pref: fix -prof, to behave exactly the same as -profile --- 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 cd162f9432..7cfb68fd89 100644 --- a/vlib/v/pref/pref.v +++ b/vlib/v/pref/pref.v @@ -225,7 +225,7 @@ pub fn parse_args(args []string) (&Preferences, string) { res.build_options << arg } '-prof', '-profile' { - res.profile_file = cmdline.option(current_args, '-profile', '-') + res.profile_file = cmdline.option(current_args, arg, '-') res.is_prof = true res.build_options << '$arg $res.profile_file' i++