summaryrefslogtreecommitdiff
path: root/bin/maildir-indexer
diff options
context:
space:
mode:
Diffstat (limited to 'bin/maildir-indexer')
-rw-r--r--bin/maildir-indexer4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/maildir-indexer b/bin/maildir-indexer
index 2ee76f8..1bb1740 100644
--- a/bin/maildir-indexer
+++ b/bin/maildir-indexer
@@ -7,8 +7,8 @@ use MaildirIndexer::Server;
use MaildirIndexer::Index::ByRef;
use MaildirIndexer::Index::ByAddresses;
-sub MAIN($maildir,Int :$port = 9000) {
- my $file-channel = scan-dir($maildir).Channel;
+sub MAIN(*@maildirs, Int :$port = 9000) {
+ my $file-channel = scan-dir(@maildirs).Channel;
my $store = MaildirIndexer::Store.new(
:$file-channel,
indices => (