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:
parent
f6d64c74c2
commit
b28b41d069
@ -394,6 +394,9 @@ pub fn parse_args(args []string) (&Preferences, string) {
|
||||
if command == '' {
|
||||
command = arg
|
||||
command_pos = i
|
||||
if command == 'run' {
|
||||
break
|
||||
}
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user