X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scripts%2Fimport_vger_from_mbox;h=c33e42e45c2823e1e87e9a2139fea60efc132468;hb=21fcd8a37c82c1ef654d402cf592f0c9d803aa26;hp=b3aceb6becca87c4ead65287279cd0298254f32b;hpb=5680b5f6366d19a069dd9bbf066c8b094ba176b5;p=public-inbox.git
diff --git a/scripts/import_vger_from_mbox b/scripts/import_vger_from_mbox
index b3aceb6b..c33e42e4 100644
--- a/scripts/import_vger_from_mbox
+++ b/scripts/import_vger_from_mbox
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# Copyright (C) 2016-2020 all contributors
+# Copyright (C) 2016-2021 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -9,10 +9,12 @@ my $usage = "usage: $0 NAME EMAIL DIR \$dry_run,
'V|version=i' => \$version,
'F|format=s' => \$variant,
+ 'filter=s' => \$filter,
);
GetOptions(%opts) or die $usage;
if ($variant ne 'mboxrd' && $variant ne 'mboxo') {
@@ -26,7 +28,7 @@ my $ibx = {
name => $name,
version => $version,
address => [ $email ],
- filter => 'PublicInbox::Filter::Vger',
+ filter => $filter,
};
$ibx = PublicInbox::Inbox->new($ibx);
unless ($dry_run) {