about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-11-28 17:36:58 +0000
committerEric Wong <e@80x24.org>2023-11-29 02:13:29 +0000
commit4013b7577971a67f672c0925d84b01dd5ef5d7f5 (patch)
treeac314cc4686384493f3437e2bd6eeed72c7ba50a /lib
parentd440959d8df609f3f2422d89381978116db4ad04 (diff)
downloadpublic-inbox-4013b7577971a67f672c0925d84b01dd5ef5d7f5.tar.gz
--no-import-before skips importing entire messages, not just
keywords, so it can cause permanent data loss if -o is pointed
to precious data.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/LEI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 86b71fcd..a89bdc51 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -353,6 +353,7 @@ my %OPTDESC = (
 'no-torsocks' => 'alias for --torsocks=no',
 'save!' =>  "do not save a search for `lei up'",
 'import-remote!' => 'do not memoize remote messages into local store',
+'import-before!' => 'do not import before writing to output (DANGEROUS)',
 
 'type=s' => [ 'any|mid|git', 'disambiguate type' ],