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

cmd/v: set is_run

This commit is contained in:
Alexander Medvednikov 2020-04-07 01:23:36 +02:00
parent 33644a4f91
commit fa4fb3b847

View File

@ -169,6 +169,7 @@ fn parse_args(args []string) (&pref.Preferences, string) {
res.path = command
}
else if command == 'run' {
res.is_run = true
res.path = args[args.len-1]
}
if res.is_verbose {