1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v run: pass all args after file.v only to script args, do not process them as v flags (#7672)

This commit is contained in:
zakuro
2020-12-30 04:16:20 +09:00
committed by GitHub
parent f6d64c74c2
commit b28b41d069

View File

@ -394,6 +394,9 @@ pub fn parse_args(args []string) (&Preferences, string) {
if command == '' {
command = arg
command_pos = i
if command == 'run' {
break
}
}
continue
}