cmd/v: set is_run

pull/4274/head
Alexander Medvednikov 2020-04-07 01:23:36 +02:00
parent 33644a4f91
commit fa4fb3b847
1 changed files with 1 additions and 0 deletions

View File

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