Software /
code /
clix
Changeset
109:ab7e4845b6c1
clix.publish_atom: The node is required, so print the help if it's missing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 02 Jul 2013 17:03:34 +0200 |
parents | 108:ded3938232f0 |
children | 110:9c4b996bdfd8 |
files | clix/publish_atom.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 \\");