diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-03 14:26:27 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-09-03 14:34:56 -0300 |
commit | 984adfca55d6fb8ae06e1b894ffca87cf3b90ecf (patch) | |
tree | 8adc525b5dba4b5dd41ab881cf0e131ad922483c /src/bin | |
parent | 05e12e918bbd3e2a58a42bf7e5e340ea90667f2e (diff) | |
download | luarocks-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-x | src/bin/luarocks | 1 |
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") | |||
17 | commands.make = require("luarocks.make") | 17 | commands.make = require("luarocks.make") |
18 | commands.download = require("luarocks.download") | 18 | commands.download = require("luarocks.download") |
19 | commands.path = require("luarocks.path") | 19 | commands.path = require("luarocks.path") |
20 | commands.show = require("luarocks.show") | ||
20 | 21 | ||
21 | command_line.run_command(...) | 22 | command_line.run_command(...) |