clix/bounce.lua

changeset 27
5b58c002d6ad
parent 25
db6e92989c41
--- a/clix/bounce.lua	Tue Jan 12 02:17:03 2010 +0000
+++ b/clix/bounce.lua	Tue Jan 12 02:17:38 2010 +0000
@@ -1,6 +1,10 @@
 short_opts.h = "history";
 
 return function (opts, arg)
+	if opts.short_help then
+		print("Bounce received messages to another JID");
+		return;
+	end
 	local function on_connect(conn)
 		-- Allow selective bouncing
 		local only_node, only_server, only_resource;

mercurial