diff options
author | Kim Alvefur <zash@zash.se> | 2013-06-07 20:05:23 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-06-07 20:05:23 +0200 |
commit | eb28aab70c8da1f2efb56963344e90d89b786f57 (patch) | |
tree | 0b9d94f1ea24eafe93843d0b02af3735536fc025 | |
parent | d826b6cebb94355ec052f615786a113d547d8ca0 (diff) | |
download | prosody-eb28aab70c8da1f2efb56963344e90d89b786f57.tar.gz prosody-eb28aab70c8da1f2efb56963344e90d89b786f57.zip |
prosodyctl: Add 'prosodyctl check --help'
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"; |