clix/receive.lua

changeset 27
5b58c002d6ad
parent 22
19c5a66837ed
--- a/clix/receive.lua	Tue Jan 12 02:17:03 2010 +0000
+++ b/clix/receive.lua	Tue Jan 12 02:17:38 2010 +0000
@@ -1,6 +1,10 @@
 short_opts.h = "history";
 
 return function (opts, args)
+	if opts.short_help then
+		print("Receive and display XMPP messages");
+		return;
+	end
 	local function on_message(message)
 		local body = message:get_child("body");
 		local delay = message:get_child("delay", "urn:xmpp:delay");

mercurial