Software /
code /
prosody
Diff
util/prosodyctl.lua @ 11133:624eafed3343
util.prosodyctl: Flip argument order
"verb subject" feels better than "subject verb", especially since the
subject (module) is optional.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 05 Oct 2020 21:17:29 +0200 |
parent | 11132:287d0d80aa57 |
child | 11134:3e3f22043552 |
line wrap: on
line diff
--- a/util/prosodyctl.lua Mon Oct 05 21:13:23 2020 +0200 +++ b/util/prosodyctl.lua Mon Oct 05 21:17:29 2020 +0200 @@ -227,7 +227,7 @@ 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);