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 | 037707af4ce4315efeb3f3ba01453e6cb82e922c (patch) | |
tree | cf6e79601724c932aa530ca0699725d93f47ab32 /prosodyctl | |
parent | c92c12d5d2dc34214863c4bee72399c09a445394 (diff) | |
parent | 413055c14de0e708abfc4034c0f36fc6e25ae344 (diff) | |
download | prosody-037707af4ce4315efeb3f3ba01453e6cb82e922c.tar.gz prosody-037707af4ce4315efeb3f3ba01453e6cb82e922c.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(""); |