clix/watch_pep.lua

changeset 145
6e05b25c2669
parent 144
febc3992bee6
--- 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

mercurial