prosodyctl
changeset 5655 6d7f7548b2c9
parent 5620 8349ae2a44ce
child 5657 7957f14038e8
--- 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";