diff options
author | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2014-01-16 01:16:18 -0800 |
---|---|---|
committer | Ignacio Burgueño <ignaciob@inconcertcc.com> | 2014-01-16 01:16:18 -0800 |
commit | cb053191eca0191b330ff5ce1b99da9b04dba30a (patch) | |
tree | 4939239487e4544496f9bc3953d0d4af8f7bf90b | |
parent | c0d695ad303b19602e3342f0bc371b8b1c73d2ae (diff) | |
download | luarocks-cb053191eca0191b330ff5ce1b99da9b04dba30a.tar.gz luarocks-cb053191eca0191b330ff5ce1b99da9b04dba30a.tar.bz2 luarocks-cb053191eca0191b330ff5ce1b99da9b04dba30a.zip |
Use \n as separator to keys_as_string
-rw-r--r-- | src/luarocks/show.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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(...) | |||
127 | if flags["rock-tree"] then util.printout(path.rocks_tree_to_string(repo)) | 127 | if flags["rock-tree"] then util.printout(path.rocks_tree_to_string(repo)) |
128 | elseif flags["rock-dir"] then util.printout(directory) | 128 | elseif flags["rock-dir"] then util.printout(directory) |
129 | elseif flags["home"] then util.printout(descript.homepage) | 129 | elseif flags["home"] then util.printout(descript.homepage) |
130 | elseif flags["modules"] then util.printout(keys_as_string(minfo.modules), "\n") | 130 | elseif flags["modules"] then util.printout(keys_as_string(minfo.modules, "\n")) |
131 | elseif flags["deps"] then util.printout(keys_as_string(minfo.dependencies)) | 131 | elseif flags["deps"] then util.printout(keys_as_string(minfo.dependencies)) |
132 | elseif flags["rockspec"] then util.printout(rockspec_file) | 132 | elseif flags["rockspec"] then util.printout(rockspec_file) |
133 | elseif flags["mversion"] then util.printout(version) | 133 | elseif flags["mversion"] then util.printout(version) |