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 | e626df2fc20257eb9e96fb9cfcfc22df10e044c9 (patch) | |
tree | 0b9d94f1ea24eafe93843d0b02af3735536fc025 | |
parent | 8e44ad94a9cb442bd7a03830a2a8548c3833fe68 (diff) | |
download | prosody-e626df2fc20257eb9e96fb9cfcfc22df10e044c9.tar.gz prosody-e626df2fc20257eb9e96fb9cfcfc22df10e044c9.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"; |