diff options
author | Paul Ouellette <oue.paul18@gmail.com> | 2019-06-12 16:03:43 -0400 |
---|---|---|
committer | Paul Ouellette <oue.paul18@gmail.com> | 2019-07-29 17:07:39 -0400 |
commit | e92c37b6e3b30268033eaf2ad634998340c0fa3e (patch) | |
tree | f4762179e74c286dd03d5f8298ff735eed879e8d /src/bin | |
parent | 1d3bb56b309ce0463249852f901147157f34adfa (diff) | |
download | luarocks-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-x | src/bin/luarocks | 2 | ||||
-rwxr-xr-x | src/bin/luarocks-admin | 2 |
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 | ||
36 | cmd.run_command(description, commands, "luarocks.cmd.external", ...) | 36 | cmd.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 | ||
19 | cmd.run_command(description, commands, "luarocks.admin.cmd.external", ...) | 19 | cmd.run_command("luarocks-admin", description, commands, "luarocks.admin.cmd.external", ...) |