aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorPaul Ouellette <oue.paul18@gmail.com>2019-06-12 16:03:43 -0400
committerPaul Ouellette <oue.paul18@gmail.com>2019-07-29 17:07:39 -0400
commite92c37b6e3b30268033eaf2ad634998340c0fa3e (patch)
treef4762179e74c286dd03d5f8298ff735eed879e8d /src/bin
parent1d3bb56b309ce0463249852f901147157f34adfa (diff)
downloadluarocks-e92c37b6e3b30268033eaf2ad634998340c0fa3e.tar.gz
luarocks-e92c37b6e3b30268033eaf2ad634998340c0fa3e.tar.bz2
luarocks-e92c37b6e3b30268033eaf2ad634998340c0fa3e.zip
Use argparse for command line argument parsing
Supports main options and init and lint commands
Diffstat (limited to 'src/bin')
-rwxr-xr-xsrc/bin/luarocks2
-rwxr-xr-xsrc/bin/luarocks-admin2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks
index d982530c..f277b348 100755
--- a/src/bin/luarocks
+++ b/src/bin/luarocks
@@ -33,4 +33,4 @@ local commands = {
33 test = "luarocks.cmd.test", 33 test = "luarocks.cmd.test",
34} 34}
35 35
36cmd.run_command(description, commands, "luarocks.cmd.external", ...) 36cmd.run_command("luarocks", description, commands, "luarocks.cmd.external", ...)
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin
index 71e17b55..ddbe0f48 100755
--- a/src/bin/luarocks-admin
+++ b/src/bin/luarocks-admin
@@ -16,4 +16,4 @@ local commands = {
16 refresh_cache = "luarocks.admin.cmd.refresh_cache", 16 refresh_cache = "luarocks.admin.cmd.refresh_cache",
17} 17}
18 18
19cmd.run_command(description, commands, "luarocks.admin.cmd.external", ...) 19cmd.run_command("luarocks-admin", description, commands, "luarocks.admin.cmd.external", ...)