prosodyctl: Corrected the help output of the install and remove commands
authorJoão Duarte <jvsDuarte08@gmail.com>
Fri, 26 Jul 2019 05:53:18 -0700
changeset 10176 5da519ef2d51
parent 10175 628e238feb04
child 10177 0513dd2830b7
prosodyctl: Corrected the help output of the install and remove commands
prosodyctl
--- 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