From 17e27776ea152509e1095bbf80f5af65bc7a7997 Mon Sep 17 00:00:00 2001
From: Daniel <kingdread@gmx.de>
Date: Mon, 4 May 2020 12:24:24 +0200
Subject: Add a -log-before & -log-after predicate

With the file name heuristic for -before and -after in place, we might
want a way for the user to disable it. For now, we simply do this by
providing a new set of predicates without the filter.

In the future, we might have a --disable-heuristics switch to disable
the heuristics, in case we ever add more.
---
 raidgrep.1.asciidoc | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'raidgrep.1.asciidoc')

diff --git a/raidgrep.1.asciidoc b/raidgrep.1.asciidoc
index 65b5d18..78dcf78 100644
--- a/raidgrep.1.asciidoc
+++ b/raidgrep.1.asciidoc
@@ -96,6 +96,14 @@ Those predicates can be used as-is in the filter:
     Include logs made after the given date. See *-before* for valid date
     formats.
 
+*-log-before* 'DATE', *-log-after* 'DATE'::
+    Same as *-before* and *-after*, but does not use file name heuristics to
+    filter the date. +
+    +
+    This can fix wrong results in case you renamed files, but it comes at the
+    cost of worse runtime performance. You should always use *-before*/*-after*
+    when possible!
+
 *-boss* 'BOSSES'::
     Include logs from the given bosses. See below for a list of valid boss
     names. Names can also be comma separated.
-- 
cgit v1.2.3

