Software / code / prosody
Changeset
10136:38775965fcd5
util.prosodyctl: Added help support to 'admin_operation'
| author | João Duarte <jvsDuarte08@gmail.com> |
|---|---|
| date | Thu, 27 Jun 2019 18:01:36 +0100 |
| parents | 10135:3ae2809030dd |
| children | 10137:04aea97afee9 |
| files | util/prosodyctl.lua |
| diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/prosodyctl.lua Thu Jun 27 18:00:11 2019 +0100 +++ b/util/prosodyctl.lua Thu Jun 27 18:01:36 2019 +0100 @@ -279,6 +279,11 @@ 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