mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
cmd/v: set is_run
This commit is contained in:
parent
33644a4f91
commit
fa4fb3b847
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue