prosodyctl
changeset 11137 624eafed3343
parent 11010 8ac958938e0f
child 11138 3e3f22043552
--- a/prosodyctl	Mon Oct 05 21:13:23 2020 +0200
+++ b/prosodyctl	Mon Oct 05 21:17:29 2020 +0200
@@ -78,7 +78,7 @@
 		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 @@
 		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 @@
 		show_usage([[list]], [[Shows installed rocks]]);
 		return 1;
 	end
-	call_luarocks(arg[1], "list")
+	call_luarocks("list", arg[1])
 end
 
 function commands.adduser(arg)