about summary refs log tree commit diff
path: root/unscoop.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-06 12:44:59 -0500
committerJune McEnroe <june@causal.agency>2019-12-06 12:44:59 -0500
commit95394a0bcb641ca201289cfea373f9780d45ad8b (patch)
tree6ca65a22bee4f4c339675f2749f340950861f11e /unscoop.1
parentAdd eventsDelete trigger (diff)
downloadlitterbox-95394a0bcb641ca201289cfea373f9780d45ad8b.tar.gz
litterbox-95394a0bcb641ca201289cfea373f9780d45ad8b.zip
Add deduplication function to unscoop
Diffstat (limited to 'unscoop.1')
-rw-r--r--unscoop.128
1 files changed, 21 insertions, 7 deletions
diff --git a/unscoop.1 b/unscoop.1
index e9e8dbe..9acba7c 100644
--- a/unscoop.1
+++ b/unscoop.1
@@ -8,11 +8,14 @@
 .
 .Sh SYNOPSIS
 .Nm
-.Op Fl C Ar context
-.Op Fl N Ar network
+.Fl C Ar context
+.Fl N Ar network
 .Op Fl d Ar path
 .Op Fl f Ar format
 .Ar
+.Nm
+.Fl D
+.Op Fl d Ar path
 .
 .Sh DESCRIPTION
 The
@@ -26,16 +29,25 @@ The arguments are as follows:
 .Bl -tag -width Ds
 .It Fl C Ar context
 Set the channel or query name of the imported logs.
+Contexts beginning with
+.Sq #
+or
+.Sq &
+are assumed to be channels.
+.
+.It Fl D
+Delete duplicate events caused by overlapping imports.
+This operation requires SQLite version 3.25.0 or newer.
 .
 .It Fl N Ar network
 Set the network name of the imported logs.
 .
 .It Fl d Ar path
-Import into the database at
-.Ar path .
-See
-.Xr litterbox 1
-for the default database path.
+Set the database path.
+The database must have been initialized by
+.Xr litterbox 1 .
+The default path is as in
+.Xr litterbox 1 .
 .
 .It Fl f Ar format
 Set the input log format.
@@ -43,6 +55,8 @@ The following formats are supported:
 .Sy generic ,
 .Sy textual ,
 .Sy catgirl .
+The default format is
+.Sy generic .
 .Pp
 The
 .Sy generic