prosodyctl: Fix 'about' command to not show up where it shouldn't...
authorMatthew Wild <mwild1@gmail.com>
Tue, 19 Jul 2011 12:51:59 -0400
changeset 4331 9c45858e3208
parent 4330 520fcb333cba
child 4332 8154bc28e520
prosodyctl: Fix 'about' command to not show up where it shouldn't...
prosodyctl
--- a/prosodyctl	Sun May 22 14:06:18 2011 -0700
+++ b/prosodyctl	Tue Jul 19 12:51:59 2011 -0400
@@ -486,6 +486,11 @@
 end
 
 function commands.about(arg)
+	if arg[1] == "--help" then
+		show_usage([[about]], [[Show information about this Prosody installation]]);
+		return 1;
+	end
+	
 	require "util.array";
 	require "util.iterators";