aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-06-07 20:05:23 +0200
committerKim Alvefur <zash@zash.se>2013-06-07 20:05:23 +0200
commiteb28aab70c8da1f2efb56963344e90d89b786f57 (patch)
tree0b9d94f1ea24eafe93843d0b02af3735536fc025 /prosodyctl
parentd826b6cebb94355ec052f615786a113d547d8ca0 (diff)
downloadprosody-eb28aab70c8da1f2efb56963344e90d89b786f57.tar.gz
prosody-eb28aab70c8da1f2efb56963344e90d89b786f57.zip
prosodyctl: Add 'prosodyctl check --help'
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 4d7f678f..47273014 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -780,6 +780,10 @@ function commands.cert(arg)
end
function commands.check(arg)
+ if arg[1] == "--help" then
+ show_usage([[check]], [[Perform basic checks on your Prosody installation]]);
+ return 1;
+ end
local what = table.remove(arg, 1);
local array, set = require "util.array", require "util.set";
local it = require "util.iterators";