aboutsummaryrefslogtreecommitdiffstats
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
commite626df2fc20257eb9e96fb9cfcfc22df10e044c9 (patch)
tree0b9d94f1ea24eafe93843d0b02af3735536fc025
parent8e44ad94a9cb442bd7a03830a2a8548c3833fe68 (diff)
downloadprosody-e626df2fc20257eb9e96fb9cfcfc22df10e044c9.tar.gz
prosody-e626df2fc20257eb9e96fb9cfcfc22df10e044c9.zip
prosodyctl: Add 'prosodyctl check --help'
-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";