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:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user