Diff

prosodyctl @ 10172:5da519ef2d51

prosodyctl: Corrected the help output of the install and remove commands
author João Duarte <jvsDuarte08@gmail.com>
date Fri, 26 Jul 2019 05:53:18 -0700
parent 10170:882ca2f965d5
child 10178:badc8610bfdf
line wrap: on
line diff
--- a/prosodyctl	Thu Jul 25 06:46:04 2019 -0700
+++ b/prosodyctl	Fri Jul 26 05:53:18 2019 -0700
@@ -87,7 +87,7 @@
 
 function commands.install(arg)
 	if arg[1] == "--help" then
-		show_usage([[make]], [[Installs a prosody/luarocks plugin]]);
+		show_usage([[install]], [[Installs a prosody/luarocks plugin]]);
 		return 1;
 	end
 	local installer_plugin_path = prosodyctl.get_path_custom_plugins(prosody.paths.plugins)
@@ -111,7 +111,7 @@
 
 function commands.remove(arg)
 	if arg[1] == "--help" then
-		show_usage([[make]], [[Removes a module installed in the wroking directory's plugins folder]]);
+		show_usage([[remove]], [[Removes a module installed in the wroking directory's plugins folder]]);
 		return 1;
 	end
 	-- I'm considering that we are using just one path to custom plugins, and it is the first in prosody.paths.plugins, for now