From 66ee87d5d0545b78463e1dc5d764353c98dae6f8 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Tue, 19 Jul 2011 12:51:59 -0400
Subject: prosodyctl: Fix 'about' command to not show up where it shouldn't...

---
 prosodyctl | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/prosodyctl b/prosodyctl
index c468eb7d..a9858c44 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -486,6 +486,11 @@ function commands.restart(arg)
 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";
 	
-- 
cgit v1.2.3