diff --git a/cmd/tools/repeat.v b/cmd/tools/repeat.v index 844f3c57c7..004f134dc0 100644 --- a/cmd/tools/repeat.v +++ b/cmd/tools/repeat.v @@ -116,10 +116,11 @@ fn (mut context Context) parse_options() { if context.verbose { scripting.set_verbose(true) } - context.commands = fp.finalize() or { + x := fp.finalize() or { eprintln('Error: ' + err) exit(1) } + context.commands = x context.results = []CmdResult{len: context.commands.len, init: CmdResult{}} context.cline = '\r' + term.h_divider('') }