diff options
| author | Hisham <hisham@gobolinux.org> | 2016-10-30 23:32:30 -0200 |
|---|---|---|
| committer | Hisham <hisham@gobolinux.org> | 2016-10-30 23:32:30 -0200 |
| commit | 27be765c4a846c0d4e970e154b29cbab1a833738 (patch) | |
| tree | 1436b7eed4dc61a8b9df0cfed512b477d9a8f8ac /src/bin/luarocks-admin | |
| parent | ba1ba4be6e0ecc6936c49fae38c71e22250ceb65 (diff) | |
| parent | f8bd89d27323403dd9de9772a7974b439b37b29d (diff) | |
| download | luarocks-27be765c4a846c0d4e970e154b29cbab1a833738.tar.gz luarocks-27be765c4a846c0d4e970e154b29cbab1a833738.tar.bz2 luarocks-27be765c4a846c0d4e970e154b29cbab1a833738.zip | |
Merge branch 'new-cmd-dir'
Diffstat (limited to 'src/bin/luarocks-admin')
| -rwxr-xr-x | src/bin/luarocks-admin | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 2890d1f1..5db24640 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/usr/bin/env lua | 1 | #!/usr/bin/env lua |
| 2 | 2 | ||
| 3 | -- this should be loaded first. | 3 | -- this should be loaded first. |
| 4 | local cfg = require("luarocks.cfg") | 4 | local cfg = require("luarocks.core.cfg") |
| 5 | 5 | ||
| 6 | local loader = require("luarocks.loader") | 6 | local loader = require("luarocks.loader") |
| 7 | local command_line = require("luarocks.command_line") | 7 | local command_line = require("luarocks.command_line") |
| @@ -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.make_manifest", | 13 | make_manifest = "luarocks.admin.cmd.make_manifest", |
| 14 | add = "luarocks.add", | 14 | add = "luarocks.admin.cmd.add", |
| 15 | remove = "luarocks.admin_remove", | 15 | remove = "luarocks.admin.cmd.remove", |
| 16 | refresh_cache = "luarocks.refresh_cache", | 16 | refresh_cache = "luarocks.admin.cmd.refresh_cache", |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | command_line.run_command(...) | 19 | command_line.run_command(...) |
