X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scripts%2Fdupe-finder;h=6f873b6e56a5fb113f7e5f9e4df3f56962fbcdf1;hb=9253dc860de52360d3bc60710422783457143e3d;hp=14022379b0fe5138b7a5fbc9775dd0aee2bb092f;hpb=69329215485cf2ab9d8cd1fa7faf65d8ec42dc0b;p=public-inbox.git
diff --git a/scripts/dupe-finder b/scripts/dupe-finder
index 14022379..6f873b6e 100644
--- a/scripts/dupe-finder
+++ b/scripts/dupe-finder
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# Copyright (C) 2018 all contributors
+# Copyright (C) 2018-2020 all contributors
# License: AGPL-3.0+
#
# ad-hoc tool for finding duplicates, unstable!
@@ -14,7 +14,7 @@ my $ibx;
if (index($repo, '@') > 0) {
$ibx = PublicInbox::Config->new->lookup($repo);
} elsif (-d $repo) {
- $ibx = { mainrepo => $repo, address => 'unnamed@example.com' };
+ $ibx = { inboxdir => $repo, address => 'unnamed@example.com' };
$ibx = PublicInbox::Inbox->new($ibx);
} else {
$ibx = PublicInbox::Config->new->lookup_name($repo);