clix/publish_atom.lua

changeset 111
ab7e4845b6c1
parent 97
83cd777fb294
child 112
9c4b996bdfd8
--- a/clix/publish_atom.lua	Mon Apr 01 21:25:31 2013 +0200
+++ b/clix/publish_atom.lua	Tue Jul 02 17:03:34 2013 +0200
@@ -10,8 +10,7 @@
 		print("Publish an Atom entry to a pubsub node");
 		return;
 	end
-	--if (#arg == 0 or opts.help) then -- why?
-	if opts.help then
+	if opts.help or not opts.node then
 		print("clix publish_atom \\");
 		print("","--service=pubsub.shakespeare.lit \\");
 		print("","--node=princely_musings \\");

mercurial