@@ -188,9 +188,9 @@ end i = i + 1 end end if args[1] and args[1] ~= '' then - local file = io.open(arg[1], "rb") + local file = io.open(args[1], "rb") if not file then error('unable to load file ' .. args[1]) end input.stream = file input.src.file = args[1] end