v run: pass all args after file.v only to script args, do not process them as v flags (#7672)
parent
f6d64c74c2
commit
b28b41d069
|
@ -394,6 +394,9 @@ pub fn parse_args(args []string) (&Preferences, string) {
|
||||||
if command == '' {
|
if command == '' {
|
||||||
command = arg
|
command = arg
|
||||||
command_pos = i
|
command_pos = i
|
||||||
|
if command == 'run' {
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue