aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2013-09-20 22:47:37 -0300
committerHisham Muhammad <hisham@gobolinux.org>2013-09-20 22:47:37 -0300
commitb2a9fa913cea947142e9ae8e722a193b49e913c1 (patch)
tree98ff2ddd338b8243a39a501f4447292960ef03b7
parent031e8aa76ce596784d9dc55a5d390bf0e79de1d3 (diff)
downloadluarocks-b2a9fa913cea947142e9ae8e722a193b49e913c1.tar.gz
luarocks-b2a9fa913cea947142e9ae8e722a193b49e913c1.tar.bz2
luarocks-b2a9fa913cea947142e9ae8e722a193b49e913c1.zip
Inform Lua version in use in help screen
Diffstat (limited to '')
-rw-r--r--src/luarocks/help.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luarocks/help.lua b/src/luarocks/help.lua
index 2944dfd8..d9be46fc 100644
--- a/src/luarocks/help.lua
+++ b/src/luarocks/help.lua
@@ -80,6 +80,7 @@ function run(...)
80 util.printout("\t", command.help_summary) 80 util.printout("\t", command.help_summary)
81 end 81 end
82 print_section("CONFIGURATION") 82 print_section("CONFIGURATION")
83 util.printout("\tLua version: " .. cfg.lua_version)
83 util.printout("\tSystem configuration file: ".. sys_file .. " (" .. get_status(sys_ok) ..")") 84 util.printout("\tSystem configuration file: ".. sys_file .. " (" .. get_status(sys_ok) ..")")
84 if home_file then 85 if home_file then
85 util.printout("\tUser configuration file: ".. home_file .. " (" .. get_status(home_ok) ..")\n") 86 util.printout("\tUser configuration file: ".. home_file .. " (" .. get_status(home_ok) ..")\n")