Tue, 02 Jul 2013 17:03:34 +0200
clix.publish_atom: The node is required, so print the help if it's missing
clix/publish_atom.lua | file | annotate | diff | comparison | revisions |
--- 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 \\");