aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-05 21:17:29 +0200
committerKim Alvefur <zash@zash.se>2020-10-05 21:17:29 +0200
commit1f4d45ecbca29698ac2c1efdfa553580f095505b (patch)
tree2d2e1aba939ab2eaf9aee28be9f0a8c765641425 /util
parent22bcfff5cea846a83397de89b4a78e71245ed95c (diff)
downloadprosody-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 'util')
-rw-r--r--util/prosodyctl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua
index 6378856a..28347455 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -227,7 +227,7 @@ end
local render_cli = interpolation.new("%b{}", function (s) return "'"..s:gsub("'","'\\''").."'" end)
-local function call_luarocks(mod, operation)
+local function call_luarocks(operation, mod)
local dir = get_path_custom_plugins(prosody.paths.plugins);
if operation == "install" then
show_message("Installing %s at %s", mod, dir);