aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/show.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luarocks/show.lua b/src/luarocks/show.lua
index 2e039dd4..49e235d9 100644
--- a/src/luarocks/show.lua
+++ b/src/luarocks/show.lua
@@ -1,4 +1,3 @@
1
2--- Module implementing the LuaRocks "show" command. 1--- Module implementing the LuaRocks "show" command.
3-- Shows information about an installed rock. 2-- Shows information about an installed rock.
4module("luarocks.show", package.seeall) 3module("luarocks.show", package.seeall)
@@ -128,7 +127,7 @@ function run(...)
128 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))
129 elseif flags["rock-dir"] then util.printout(directory) 128 elseif flags["rock-dir"] then util.printout(directory)
130 elseif flags["home"] then util.printout(descript.homepage) 129 elseif flags["home"] then util.printout(descript.homepage)
131 elseif flags["modules"] then util.printout(keys_as_string(minfo.modules)) 130 elseif flags["modules"] then util.printout(keys_as_string(minfo.modules, "\n"))
132 elseif flags["deps"] then util.printout(keys_as_string(minfo.dependencies)) 131 elseif flags["deps"] then util.printout(keys_as_string(minfo.dependencies))
133 elseif flags["rockspec"] then util.printout(rockspec_file) 132 elseif flags["rockspec"] then util.printout(rockspec_file)
134 elseif flags["mversion"] then util.printout(version) 133 elseif flags["mversion"] then util.printout(version)