aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-07-19 12:51:59 -0400
committerMatthew Wild <mwild1@gmail.com>2011-07-19 12:51:59 -0400
commit66ee87d5d0545b78463e1dc5d764353c98dae6f8 (patch)
treeae9612c5f5677cffbff483c73a7c58e9316da1a2
parent4438e17adda7347092546bede4685f19b12ee258 (diff)
downloadprosody-66ee87d5d0545b78463e1dc5d764353c98dae6f8.tar.gz
prosody-66ee87d5d0545b78463e1dc5d764353c98dae6f8.zip
prosodyctl: Fix 'about' command to not show up where it shouldn't...
-rwxr-xr-xprosodyctl5
1 files changed, 5 insertions, 0 deletions
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";