diff options
author | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-06-27 18:01:36 +0100 |
---|---|---|
committer | Jo?o Duarte <jvsDuarte08@gmail.com> | 2019-06-27 18:01:36 +0100 |
commit | e5971f6e72429dfb5f0df4f52cd23b60a286da4d (patch) | |
tree | f9572801a8af054a8b45be6ee69a6448b3f9294a /util/prosodyctl.lua | |
parent | 8ed0ec1790dad15eb619c201e65a603980db6f26 (diff) | |
download | prosody-e5971f6e72429dfb5f0df4f52cd23b60a286da4d.tar.gz prosody-e5971f6e72429dfb5f0df4f52cd23b60a286da4d.zip |
util.prosodyctl: Added help support to 'admin_operation'
Diffstat (limited to 'util/prosodyctl.lua')
-rw-r--r-- | util/prosodyctl.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index e2bc4369..c2235e85 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -279,6 +279,11 @@ local function reload() end local function admin_operation(operation, arg) + if arg[1] == "--help" then + print(" admin-"..operation) + print(" "..operation.."plugins from a server (repository)") + return 1; + end local modules, tree, server, refresh = "", "", "", "" for i, _ in ipairs(arg) do if arg[i]:sub(1, #"--tree=") == "--tree=" then |