diff options
| author | Hisham <hisham@gobolinux.org> | 2016-10-29 16:14:05 -0200 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-10-29 16:14:05 -0200 |
| commit | 67f73b4a1a18a6ff9535ac4ed5faec0d1eb9671a (patch) | |
| tree | b28b633631c411d198e6393f54cb4d3622a6ee22 /src/bin | |
| parent | db7814136e3ce45141d3582738dc36ad3596df2c (diff) | |
| download | luarocks-67f73b4a1a18a6ff9535ac4ed5faec0d1eb9671a.tar.gz luarocks-67f73b4a1a18a6ff9535ac4ed5faec0d1eb9671a.tar.bz2 luarocks-67f73b4a1a18a6ff9535ac4ed5faec0d1eb9671a.zip | |
Move admin commands to luarocks.admin.cmd.*; fix references to modules.
Diffstat (limited to 'src/bin')
| -rwxr-xr-x | src/bin/luarocks | 38 | ||||
| -rwxr-xr-x | src/bin/luarocks-admin | 10 |
2 files changed, 24 insertions, 24 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks index 21f17da9..88a1d1ca 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks | |||
| @@ -9,25 +9,25 @@ local command_line = require("luarocks.command_line") | |||
| 9 | program_description = "LuaRocks main command-line interface" | 9 | program_description = "LuaRocks main command-line interface" |
| 10 | 10 | ||
| 11 | commands = { | 11 | commands = { |
| 12 | help = "luarocks.help", | 12 | help = "luarocks.cmd.help", |
| 13 | pack = "luarocks.pack", | 13 | pack = "luarocks.cmd.pack", |
| 14 | unpack = "luarocks.unpack", | 14 | unpack = "luarocks.cmd.unpack", |
| 15 | build = "luarocks.build", | 15 | build = "luarocks.cmd.build", |
| 16 | install = "luarocks.install", | 16 | install = "luarocks.cmd.install", |
| 17 | search = "luarocks.search", | 17 | search = "luarocks.cmd.search", |
| 18 | list = "luarocks.list", | 18 | list = "luarocks.cmd.list", |
| 19 | remove = "luarocks.remove", | 19 | remove = "luarocks.cmd.remove", |
| 20 | make = "luarocks.make", | 20 | make = "luarocks.cmd.make", |
| 21 | download = "luarocks.download", | 21 | download = "luarocks.cmd.download", |
| 22 | path = "luarocks.path_cmd", | 22 | path = "luarocks.cmd.path", |
| 23 | show = "luarocks.show", | 23 | show = "luarocks.cmd.show", |
| 24 | new_version = "luarocks.new_version", | 24 | new_version = "luarocks.cmd.new_version", |
| 25 | lint = "luarocks.lint", | 25 | lint = "luarocks.cmd.lint", |
| 26 | write_rockspec = "luarocks.write_rockspec", | 26 | write_rockspec = "luarocks.cmd.write_rockspec", |
| 27 | purge = "luarocks.purge", | 27 | purge = "luarocks.cmd.purge", |
| 28 | doc = "luarocks.doc", | 28 | doc = "luarocks.cmd.doc", |
| 29 | upload = "luarocks.upload", | 29 | upload = "luarocks.cmd.upload", |
| 30 | config = "luarocks.config_cmd", | 30 | config = "luarocks.cmd.config", |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | command_line.run_command(...) | 33 | command_line.run_command(...) |
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 660c0a70..5db24640 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
| @@ -9,11 +9,11 @@ local command_line = require("luarocks.command_line") | |||
| 9 | program_description = "LuaRocks repository administration interface" | 9 | program_description = "LuaRocks repository administration interface" |
| 10 | 10 | ||
| 11 | commands = { | 11 | commands = { |
| 12 | help = "luarocks.help", | 12 | help = "luarocks.cmd.help", |
| 13 | make_manifest = "luarocks.admin.make_manifest", | 13 | make_manifest = "luarocks.admin.cmd.make_manifest", |
| 14 | add = "luarocks.admin.add", | 14 | add = "luarocks.admin.cmd.add", |
| 15 | remove = "luarocks.admin.remove", | 15 | remove = "luarocks.admin.cmd.remove", |
| 16 | refresh_cache = "luarocks.admin.refresh_cache", | 16 | refresh_cache = "luarocks.admin.cmd.refresh_cache", |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | command_line.run_command(...) | 19 | command_line.run_command(...) |
