summary refs log tree commit diff
path: root/scoop.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-01 16:39:09 -0500
committerJune McEnroe <june@causal.agency>2020-01-01 16:39:09 -0500
commit1ba0d0b91a339ef2d684b628347674a756569c52 (patch)
tree499e5fb5d78f58f9e6d1aef127c533223913bb10 /scoop.1
parentDocument ENVIRONMENT in scoop(1) (diff)
downloadlitterbox-1ba0d0b91a339ef2d684b628347674a756569c52.tar.gz
litterbox-1ba0d0b91a339ef2d684b628347674a756569c52.zip
Add option for custom where expression to scoop
Diffstat (limited to 'scoop.1')
-rw-r--r--scoop.19
1 files changed, 9 insertions, 0 deletions
diff --git a/scoop.1 b/scoop.1
index a16d9f2..253b2ea 100644
--- a/scoop.1
+++ b/scoop.1
@@ -23,6 +23,7 @@
 .Op Fl n Ar nick
 .Op Fl t Ar type
 .Op Fl u Ar user
+.Op Fl w Ar expr
 .Op Ar search
 .Nm
 .Fl s
@@ -157,6 +158,14 @@ Match events from users with the username
 .It Fl v
 Print the expanded SQL query being used to standard error.
 .
+.It Fl w Ar expr
+Add the SQL expression
+.Ar expr
+to the
+.Sy WHERE
+clause of the query.
+This option can only be used once.
+.
 .It Ar search
 Match events using full-text search.
 The searchable columns are