aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-03-20 16:49:51 -0300
committerHisham Muhammad <hisham@gobolinux.org>2014-03-20 16:49:51 -0300
commit397659cc5cb30569b33cc9c0ab220f85379bc97f (patch)
treec5532f157f128460cd371ae455d73102d643bcac /src/bin
parent3aa7e7a08f0dd756e31ce34e4c9ae9bf0169d49a (diff)
downloadluarocks-397659cc5cb30569b33cc9c0ab220f85379bc97f.tar.gz
luarocks-397659cc5cb30569b33cc9c0ab220f85379bc97f.tar.bz2
luarocks-397659cc5cb30569b33cc9c0ab220f85379bc97f.zip
Split luarocks.path the library and `luarocks path` the command.
As suggested in #232.
Diffstat (limited to 'src/bin')
-rwxr-xr-xsrc/bin/luarocks3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks
index e9cfc349..1d81ed1e 100755
--- a/src/bin/luarocks
+++ b/src/bin/luarocks
@@ -1,5 +1,4 @@
1#!/usr/bin/env lua 1#!/usr/bin/env lua
2
3local loader = require("luarocks.loader") 2local loader = require("luarocks.loader")
4local command_line = require("luarocks.command_line") 3local command_line = require("luarocks.command_line")
5 4
@@ -16,7 +15,7 @@ commands = {
16 remove = "luarocks.remove", 15 remove = "luarocks.remove",
17 make = "luarocks.make", 16 make = "luarocks.make",
18 download = "luarocks.download", 17 download = "luarocks.download",
19 path = "luarocks.path", 18 path = "luarocks.path_cmd",
20 show = "luarocks.show", 19 show = "luarocks.show",
21 new_version = "luarocks.new_version", 20 new_version = "luarocks.new_version",
22 lint = "luarocks.lint", 21 lint = "luarocks.lint",