mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref: fix -prof, to behave exactly the same as -profile
This commit is contained in:
parent
6f474913cf
commit
668483ee56
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user