clix/publish_atom.lua

changeset 111
ab7e4845b6c1
parent 97
83cd777fb294
child 112
9c4b996bdfd8
equal deleted inserted replaced
110:ded3938232f0 111:ab7e4845b6c1
8 return function (opts, arg) 8 return function (opts, arg)
9 if opts.short_help then 9 if opts.short_help then
10 print("Publish an Atom entry to a pubsub node"); 10 print("Publish an Atom entry to a pubsub node");
11 return; 11 return;
12 end 12 end
13 --if (#arg == 0 or opts.help) then -- why? 13 if opts.help or not opts.node then
14 if opts.help then
15 print("clix publish_atom \\"); 14 print("clix publish_atom \\");
16 print("","--service=pubsub.shakespeare.lit \\"); 15 print("","--service=pubsub.shakespeare.lit \\");
17 print("","--node=princely_musings \\"); 16 print("","--node=princely_musings \\");
18 print("","--id=123 \\"); 17 print("","--id=123 \\");
19 print("","--author=Hamlet \\"); 18 print("","--author=Hamlet \\");

mercurial