aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-07 16:48:28 +0100
committerKim Alvefur <zash@zash.se>2016-03-07 16:48:28 +0100
commit037707af4ce4315efeb3f3ba01453e6cb82e922c (patch)
treecf6e79601724c932aa530ca0699725d93f47ab32
parentc92c12d5d2dc34214863c4bee72399c09a445394 (diff)
parent413055c14de0e708abfc4034c0f36fc6e25ae344 (diff)
downloadprosody-037707af4ce4315efeb3f3ba01453e6cb82e922c.tar.gz
prosody-037707af4ce4315efeb3f3ba01453e6cb82e922c.zip
Merge 0.10->trunk
-rwxr-xr-xprosodyctl5
1 files changed, 4 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index ef62a9d8..e118502c 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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("");