aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2010-09-03 14:26:27 -0300
committerHisham Muhammad <hisham@gobolinux.org>2010-09-03 14:34:56 -0300
commit984adfca55d6fb8ae06e1b894ffca87cf3b90ecf (patch)
tree8adc525b5dba4b5dd41ab881cf0e131ad922483c /src/bin
parent05e12e918bbd3e2a58a42bf7e5e340ea90667f2e (diff)
downloadluarocks-984adfca55d6fb8ae06e1b894ffca87cf3b90ecf.tar.gz
luarocks-984adfca55d6fb8ae06e1b894ffca87cf3b90ecf.tar.bz2
luarocks-984adfca55d6fb8ae06e1b894ffca87cf3b90ecf.zip
Add the 'show' command by Steve Donovan, plus some changes.
Added an error check and some layout improvements, to make it look a bit like index.html from the repository. The only 'major' change was to present the repository path instead of the rock directory. I thought it would be confusing to present that path there since it's not where the modules are.
Diffstat (limited to 'src/bin')
-rwxr-xr-xsrc/bin/luarocks1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks
index fd0c1d9c..5da4bc25 100755
--- a/src/bin/luarocks
+++ b/src/bin/luarocks
@@ -17,5 +17,6 @@ commands.remove = require("luarocks.remove")
17commands.make = require("luarocks.make") 17commands.make = require("luarocks.make")
18commands.download = require("luarocks.download") 18commands.download = require("luarocks.download")
19commands.path = require("luarocks.path") 19commands.path = require("luarocks.path")
20commands.show = require("luarocks.show")
20 21
21command_line.run_command(...) 22command_line.run_command(...)