diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-07 16:48:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-07 16:48:28 +0100 |
commit | 51aba8fe68050cfcfad2862aa9fb394f3f44002c (patch) | |
tree | cf6e79601724c932aa530ca0699725d93f47ab32 /prosodyctl | |
parent | 7fc54d8b6628899909ae4c0c50030490caab5abe (diff) | |
parent | dea5da6574310f837ecdb68767c2806c0d983ed2 (diff) | |
download | prosody-51aba8fe68050cfcfad2862aa9fb394f3f44002c.tar.gz prosody-51aba8fe68050cfcfad2862aa9fb394f3f44002c.zip |
Merge 0.10->trunk
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -590,8 +590,11 @@ function commands.about(arg) module_versions[name] = module._VERSION; end end + if luaevent then + module_versions["libevent"] = luaevent.core.libevent_version(); + end local sorted_keys = array.collect(keys(module_versions)):sort(); - for _, name in ipairs(array.collect(keys(module_versions)):sort()) do + for _, name in ipairs(sorted_keys) do print(name..":"..string.rep(" ", longest_name-#name), module_versions[name]); end print(""); |