diff options
author | Kim Alvefur <zash@zash.se> | 2020-10-05 21:17:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-10-05 21:17:29 +0200 |
commit | 1f4d45ecbca29698ac2c1efdfa553580f095505b (patch) | |
tree | 2d2e1aba939ab2eaf9aee28be9f0a8c765641425 /prosodyctl | |
parent | 22bcfff5cea846a83397de89b4a78e71245ed95c (diff) | |
download | prosody-1f4d45ecbca29698ac2c1efdfa553580f095505b.tar.gz prosody-1f4d45ecbca29698ac2c1efdfa553580f095505b.zip |
util.prosodyctl: Flip argument order
"verb subject" feels better than "subject verb", especially since the
subject (module) is optional.
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -78,7 +78,7 @@ function commands.install(arg) show_usage([[install]], [[Installs a prosody/luarocks plugin]]); return 1; end - call_luarocks(arg[1], "install") + call_luarocks("install", arg[1]); end function commands.remove(arg) @@ -86,7 +86,7 @@ function commands.remove(arg) show_usage([[remove]], [[Removes a module installed in the working directory's plugins folder]]); return 1; end - call_luarocks(arg[1], "remove") + call_luarocks("remove", arg[1]) end function commands.list(arg) @@ -94,7 +94,7 @@ function commands.list(arg) show_usage([[list]], [[Shows installed rocks]]); return 1; end - call_luarocks(arg[1], "list") + call_luarocks("list", arg[1]) end function commands.adduser(arg) |