prosodyctl: Fix 'about' command to not show up where it shouldn't...
authorMatthew Wild <mwild1@gmail.com>
Tue, 19 Jul 2011 16:51:59 +0000 (12:51 -0400)
committerMatthew Wild <mwild1@gmail.com>
Tue, 19 Jul 2011 16:51:59 +0000 (12:51 -0400)
prosodyctl

index c468eb7d145d59138dcc149548f0bd30a63d17c5..a9858c445eab4ff6de771760546145942207e770 100755 (executable)
@@ -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";