aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
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
commitb5efdaa68e730043fcfdbc8041dd83e9487d6c2a (patch)
treeae9612c5f5677cffbff483c73a7c58e9316da1a2 /prosodyctl
parent03422d0c34a58137fef9402b8cdce4e753d61999 (diff)
downloadprosody-b5efdaa68e730043fcfdbc8041dd83e9487d6c2a.tar.gz
prosody-b5efdaa68e730043fcfdbc8041dd83e9487d6c2a.zip
prosodyctl: Fix 'about' command to not show up where it shouldn't...
Diffstat (limited to 'prosodyctl')
-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";