summary refs log tree commit diff
path: root/catgirl.1
diff options
context:
space:
mode:
authorC. McEnroe2020-03-31 14:30:42 -0400
committerC. McEnroe2020-03-31 14:30:42 -0400
commit25f419465f019feedb7266cb68232d1b32a66957 (patch)
tree67dffcc716ad457967f884cb25f448de27634f64 /catgirl.1
parentfcb6e2909f5211c24778741a2404b763914f9f99 (diff)
Add /ignore message filtering patterns
Diffstat (limited to 'catgirl.1')
-rw-r--r--catgirl.126
1 files changed, 25 insertions, 1 deletions
diff --git a/catgirl.1 b/catgirl.1
index 42569a3..4571162 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -1,4 +1,4 @@
-.Dd March 30, 2020
+.Dd March 31, 2020
 .Dt CATGIRL 1
 .Os
 .
@@ -17,6 +17,7 @@
 .Op Fl a Ar auth
 .Op Fl c Ar cert
 .Op Fl h Ar host
+.Op Fl i Ar patt
 .Op Fl j Ar join
 .Op Fl k Ar priv
 .Op Fl n Ar nick
@@ -147,6 +148,22 @@ and write it to
 Connect to
 .Ar host .
 .
+.It Fl i Ar pattern, Cm ignore = Ar pattern
+Add a case-insensitive message filtering pattern,
+which may contain
+.Ql * ,
+.Ql \&?
+and
+.Ql []
+wildcards as in
+.Xr sh 1 .
+The format of the pattern is as follows:
+.Bd -ragged -offset indent
+.Ar nick Ns Op Ar !user@host
+.Op Ar command
+.Op Ar channel
+.Ed
+.
 .It Fl j Ar join , Cm join = Ar join
 Join the comma-separated list of channels
 .Ar join .
@@ -309,6 +326,11 @@ Type
 .Ic q
 to return to
 .Nm .
+.It Ic /ignore Op Ar pattern
+List message filtering patterns
+or temporarily add a pattern.
+To permanently add a pattern, use
+.Fl i .
 .It Ic /move Oo Ar name Oc Ar num
 Move named window to number.
 .It Ic /open Op Ar count
@@ -320,6 +342,8 @@ Open the most recent URL from
 .Ar nick
 or matching
 .Ar substring .
+.It Ic /unignore Ar pattern
+Temporarily remove a message filtering pattern.
 .It Ic /window Ar name
 Switch to window by name.
 .It Ic /window Ar num , Ic / Ns Ar num