Software /
code /
prosody
Diff
prosodyctl @ 5655:6d7f7548b2c9
prosodyctl: Add 'prosodyctl check --help'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 07 Jun 2013 20:05:23 +0200 |
parent | 5620:8349ae2a44ce |
child | 5657:7957f14038e8 |
line wrap: on
line diff
--- 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";