clix/mirror.lua

changeset 27
5b58c002d6ad
parent 24
8e157125957d
--- a/clix/mirror.lua	Tue Jan 12 02:17:03 2010 +0000
+++ b/clix/mirror.lua	Tue Jan 12 02:17:38 2010 +0000
@@ -1,4 +1,8 @@
 return function (opts, arg)
+	if opts.short_help then
+		print("Echo received stanzas back to sender");
+		return;
+	end
 	local function on_connect(conn)
 		local function on_stanza(stanza)
 			if stanza.name == "presence" and opts.presence

mercurial