diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-06-19 10:34:39 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-01 15:51:13 -0300 |
commit | a1d5c8ca857d455582efefe88037b82792734b9c (patch) | |
tree | b6acff0b405fe182313f5c76729d8fc75d72023f /src/bin | |
parent | a55f09fae00cb3c575f926eda4d76e81ff37b2ba (diff) | |
download | luarocks-a1d5c8ca857d455582efefe88037b82792734b9c.tar.gz luarocks-a1d5c8ca857d455582efefe88037b82792734b9c.tar.bz2 luarocks-a1d5c8ca857d455582efefe88037b82792734b9c.zip |
cmd: rename luarocks.command_line to luarocks.cmd
Diffstat (limited to 'src/bin')
-rwxr-xr-x | src/bin/luarocks | 4 | ||||
-rwxr-xr-x | src/bin/luarocks-admin | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks index 583b50b8..d776445c 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks | |||
@@ -4,7 +4,7 @@ | |||
4 | local cfg = require("luarocks.core.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 cmd = require("luarocks.cmd") |
8 | 8 | ||
9 | program_description = "LuaRocks main command-line interface" | 9 | program_description = "LuaRocks main command-line interface" |
10 | 10 | ||
@@ -33,4 +33,4 @@ commands = { | |||
33 | test = "luarocks.cmd.test", | 33 | test = "luarocks.cmd.test", |
34 | } | 34 | } |
35 | 35 | ||
36 | command_line.run_command(...) | 36 | cmd.run_command(...) |
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 5db24640..4521ac26 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
@@ -4,7 +4,7 @@ | |||
4 | local cfg = require("luarocks.core.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 cmd = require("luarocks.cmd") |
8 | 8 | ||
9 | program_description = "LuaRocks repository administration interface" | 9 | program_description = "LuaRocks repository administration interface" |
10 | 10 | ||
@@ -16,4 +16,4 @@ commands = { | |||
16 | refresh_cache = "luarocks.admin.cmd.refresh_cache", | 16 | refresh_cache = "luarocks.admin.cmd.refresh_cache", |
17 | } | 17 | } |
18 | 18 | ||
19 | command_line.run_command(...) | 19 | cmd.run_command(...) |