mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref: do not check arguments after 'run' command (#6524)
This commit is contained in:
parent
a57e01fee7
commit
7e720a1253
@ -337,8 +337,8 @@ pub fn parse_args(args []string) (&Preferences, string) {
|
|||||||
command_pos = i
|
command_pos = i
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if command !in ['', 'run', 'build', 'build-module'] {
|
if command !in ['', 'build', 'build-module'] {
|
||||||
// arguments for e.g. fmt are checked elsewhere
|
// arguments for e.g. fmt should be checked elsewhere
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
eprint('Unknown argument `$arg`')
|
eprint('Unknown argument `$arg`')
|
||||||
|
Loading…
Reference in New Issue
Block a user