From cb053191eca0191b330ff5ce1b99da9b04dba30a Mon Sep 17 00:00:00 2001 From: Ignacio BurgueƱo Date: Thu, 16 Jan 2014 01:16:18 -0800 Subject: Use \n as separator to keys_as_string --- src/luarocks/show.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luarocks/show.lua b/src/luarocks/show.lua index 3a765ef3..49e235d9 100644 --- a/src/luarocks/show.lua +++ b/src/luarocks/show.lua @@ -127,7 +127,7 @@ function run(...) if flags["rock-tree"] then util.printout(path.rocks_tree_to_string(repo)) elseif flags["rock-dir"] then util.printout(directory) elseif flags["home"] then util.printout(descript.homepage) - elseif flags["modules"] then util.printout(keys_as_string(minfo.modules), "\n") + elseif flags["modules"] then util.printout(keys_as_string(minfo.modules, "\n")) elseif flags["deps"] then util.printout(keys_as_string(minfo.dependencies)) elseif flags["rockspec"] then util.printout(rockspec_file) elseif flags["mversion"] then util.printout(version) -- cgit v1.2.3-55-g6feb