diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-19 18:15:22 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-19 18:15:22 -0300 |
commit | 7c09d1c22cf14ff088b9de4ab214164818fba28a (patch) | |
tree | 64ee8036f817502a846a402d948b02f40b88b4f0 /src | |
parent | cd40b4dbd6b73a7740cc48798a7d3ed9c0bcafdd (diff) | |
download | luarocks-7c09d1c22cf14ff088b9de4ab214164818fba28a.tar.gz luarocks-7c09d1c22cf14ff088b9de4ab214164818fba28a.tar.bz2 luarocks-7c09d1c22cf14ff088b9de4ab214164818fba28a.zip |
luarocks list: fix regression in display of version numbers
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/search.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/search.lua b/src/luarocks/search.lua index 57f39bdc..0edef10a 100644 --- a/src/luarocks/search.lua +++ b/src/luarocks/search.lua | |||
@@ -300,6 +300,9 @@ function search.print_result_tree(result_tree, porcelain) | |||
300 | end | 300 | end |
301 | for key, list in util.sortedpairs(namespaces) do | 301 | for key, list in util.sortedpairs(namespaces) do |
302 | util.printout(key == "" and package or key .. "/" .. package) | 302 | util.printout(key == "" and package or key .. "/" .. package) |
303 | for _, line in ipairs(list) do | ||
304 | util.printout(line) | ||
305 | end | ||
303 | util.printout() | 306 | util.printout() |
304 | end | 307 | end |
305 | end | 308 | end |