aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-08-30 17:19:10 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-08-30 17:19:33 -0300
commitfe09f02f064f51764a9c085e43cef13b0c89aed3 (patch)
treecf593c0b09cd34e1fe181db6e7df0125325fd847 /src
parentdf36ddf7cc3df71c7f03a441bfb209d750e86374 (diff)
downloadluarocks-fe09f02f064f51764a9c085e43cef13b0c89aed3.tar.gz
luarocks-fe09f02f064f51764a9c085e43cef13b0c89aed3.tar.bz2
luarocks-fe09f02f064f51764a9c085e43cef13b0c89aed3.zip
cmd: fix linebreaks listing rocks trees
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/cmd.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua
index a96e1fdd..126bbe76 100644
--- a/src/luarocks/cmd.lua
+++ b/src/luarocks/cmd.lua
@@ -326,9 +326,10 @@ local function get_config_text(cfg)
326 local name = tree.name and " (\""..tree.name.."\")" or "" 326 local name = tree.name and " (\""..tree.name.."\")" or ""
327 buf = buf.." "..fs.absolute_name(tree.root)..name 327 buf = buf.." "..fs.absolute_name(tree.root)..name
328 end 328 end
329 buf = buf .. "\n"
329 end 330 end
330 331
331 return buf.."\n" 332 return buf
332end 333end
333 334
334local function get_parser(description, cmd_modules) 335local function get_parser(description, cmd_modules)