aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Duarte <jvsDuarte08@gmail.com>2019-07-26 05:53:18 -0700
committerJoão Duarte <jvsDuarte08@gmail.com>2019-07-26 05:53:18 -0700
commit449256fa0c00cce042fe8dc1a2b18bcbc0c07258 (patch)
tree2aa630ab8e39d164f0372ce25a64bda161a0c198
parentc20cc1a17b2bd0ef75ad2c26e288011902b57206 (diff)
downloadprosody-449256fa0c00cce042fe8dc1a2b18bcbc0c07258.tar.gz
prosody-449256fa0c00cce042fe8dc1a2b18bcbc0c07258.zip
prosodyctl: Corrected the help output of the install and remove commands
-rwxr-xr-xprosodyctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosodyctl b/prosodyctl
index 54e883b2..9990a485 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -87,7 +87,7 @@ local command = table.remove(arg, 1);
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 @@ end
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