Diff

prosodyctl @ 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
parent 4324:5e7cba840409
child 4333:040193dead77
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";