diff --git a/stand/lua/cli.lua b/stand/lua/cli.lua index 9ed26af4b700..cfdc69a520a0 100644 --- a/stand/lua/cli.lua +++ b/stand/lua/cli.lua @@ -234,7 +234,7 @@ cli["show-module-options"] = function() end pager.open() - for i, v in ipairs(lines) do + for _, v in ipairs(lines) do pager.output(v .. "\n") end pager.close() diff --git a/tools/boot/lua-lint.sh b/tools/boot/lua-lint.sh index cc7a007947f2..c6bc89da3330 100755 --- a/tools/boot/lua-lint.sh +++ b/tools/boot/lua-lint.sh @@ -17,4 +17,5 @@ LUACHECK=$(which luacheck) cd $(make -V SRCTOP)/stand ${LUACHECK} . --globals loader --globals lfs --globals io.getchar \ --globals io.ischar --globals printc --globals cli_execute \ - --globals cli_execute_unparsed --globals try_include --std lua53 + --globals cli_execute_unparsed --globals try_include \ + --globals pager --std lua53