From e626df2fc20257eb9e96fb9cfcfc22df10e044c9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 7 Jun 2013 20:05:23 +0200 Subject: prosodyctl: Add 'prosodyctl check --help' --- prosodyctl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'prosodyctl') 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"; -- cgit v1.2.3