Software /
code /
prosody
Comparison
prosodyctl @ 7251:b74421fe417a
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Mar 2016 16:48:28 +0100 |
parent | 7214:a927edfb54ab |
parent | 7250:6ffc9247417a |
child | 7255:3da7c334f034 |
comparison
equal
deleted
inserted
replaced
7248:5e1fe4f0eb9c | 7251:b74421fe417a |
---|---|
588 longest_name = #name; | 588 longest_name = #name; |
589 end | 589 end |
590 module_versions[name] = module._VERSION; | 590 module_versions[name] = module._VERSION; |
591 end | 591 end |
592 end | 592 end |
593 if luaevent then | |
594 module_versions["libevent"] = luaevent.core.libevent_version(); | |
595 end | |
593 local sorted_keys = array.collect(keys(module_versions)):sort(); | 596 local sorted_keys = array.collect(keys(module_versions)):sort(); |
594 for _, name in ipairs(array.collect(keys(module_versions)):sort()) do | 597 for _, name in ipairs(sorted_keys) do |
595 print(name..":"..string.rep(" ", longest_name-#name), module_versions[name]); | 598 print(name..":"..string.rep(" ", longest_name-#name), module_versions[name]); |
596 end | 599 end |
597 print(""); | 600 print(""); |
598 end | 601 end |
599 | 602 |