diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-04 16:46:03 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-04 18:49:02 -0300 |
commit | 87a4056050a07013775d3b939ad9cf3e35efe742 (patch) | |
tree | d1aee81d1236edc7aabd0a07c8f97fdaca1aef25 /src | |
parent | 597d5fd800a345d19314a877ab75ab6354c8bf8d (diff) | |
download | luarocks-87a4056050a07013775d3b939ad9cf3e35efe742.tar.gz luarocks-87a4056050a07013775d3b939ad9cf3e35efe742.tar.bz2 luarocks-87a4056050a07013775d3b939ad9cf3e35efe742.zip |
help: report LuaJIT version
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/cmd/help.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/cmd/help.lua b/src/luarocks/cmd/help.lua index 77e73254..d5423ed8 100644 --- a/src/luarocks/cmd/help.lua +++ b/src/luarocks/cmd/help.lua | |||
@@ -83,6 +83,9 @@ function help.command(description, commands, command) | |||
83 | end | 83 | end |
84 | print_section("CONFIGURATION") | 84 | print_section("CONFIGURATION") |
85 | util.printout("\tLua version: " .. cfg.lua_version) | 85 | util.printout("\tLua version: " .. cfg.lua_version) |
86 | if cfg.luajit_version then | ||
87 | util.printout("\tLuaJIT version: " .. cfg.luajit_version) | ||
88 | end | ||
86 | util.printout() | 89 | util.printout() |
87 | util.printout("\tConfiguration files:") | 90 | util.printout("\tConfiguration files:") |
88 | util.printout("\t\tSystem : ".. dir.normalize(conf.system.file) .. " (" .. get_status(conf.system.ok) ..")") | 91 | util.printout("\t\tSystem : ".. dir.normalize(conf.system.file) .. " (" .. get_status(conf.system.ok) ..")") |