Changeset

4331:9c45858e3208

prosodyctl: Fix 'about' command to not show up where it shouldn't...
author Matthew Wild <mwild1@gmail.com>
date Tue, 19 Jul 2011 12:51:59 -0400
parents 4330:520fcb333cba
children 4332:8154bc28e520
files prosodyctl
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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";