Differences From Artifact [2240e68512]:
- File cli.lua — part of check-in [c15ffd5fef] at 2021-12-20 14:10:16 on branch trunk — add weak modes that can be overridden by pragma (user: lexi, size: 5559) [annotate] [blame] [check-ins using]
To Artifact [37b0a0a8ee]:
- File cli.lua — part of check-in [d5e8521d30] at 2021-12-21 03:26:36 on branch trunk — fix embarassing typobug (user: lexi, size: 5560) [annotate] [blame] [check-ins using]
185 185 end 186 186 end 187 187 188 188 end 189 189 i = i + 1 end end 190 190 191 191 if args[1] and args[1] ~= '' then 192 - local file = io.open(arg[1], "rb") 192 + local file = io.open(args[1], "rb") 193 193 if not file then error('unable to load file ' .. args[1]) end 194 194 input.stream = file 195 195 input.src.file = args[1] 196 196 end 197 197 198 198 return main(input, outp, log, mode, suggestions, vars) 199 199 end