# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1370628323 -7200 # Node ID 6d7f7548b2c9f3566c91ef0e93af3f8c80641e26 # Parent 020c5cd6eb28228a2f8390d6f69be4a2fc5edc55 prosodyctl: Add 'prosodyctl check --help' diff -r 020c5cd6eb28 -r 6d7f7548b2c9 prosodyctl --- a/prosodyctl Fri Jun 07 14:20:13 2013 -0400 +++ b/prosodyctl Fri Jun 07 20:05:23 2013 +0200 @@ -780,6 +780,10 @@ 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";