Mon, 23 Nov 2020 23:52:31 +0100
clix.watch_pep: Move invocation syntax out of short help
So it doesn't clutter the command listing
clix/watch_pep.lua | file | annotate | diff | comparison | revisions |
--- a/clix/watch_pep.lua Mon Nov 16 17:18:39 2020 +0100 +++ b/clix/watch_pep.lua Mon Nov 23 23:52:31 2020 +0100 @@ -15,8 +15,11 @@ }; return function (opts, arg) - if opts.short_help or not arg[1] then + if opts.short_help then print("Watches PEP notifications from all contacts") + return; + end + if opts.help or not arg[1] then print("clix watch_pep [--noempty] PEP-NODE+") return; end