]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei import: help + completion for --new-only
authorEric Wong <e@80x24.org>
Sun, 20 Jun 2021 08:39:47 +0000 (08:39 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Jun 2021 08:50:24 +0000 (08:50 +0000)
I've found it's very helpful for large IMAP folders.

lib/PublicInbox/LEI.pm

index 50a7fdadfc7491058fca0f60f1a8a074cfaa28cf..546fa773fc4c334cc83a27358ba74f016cf62dab 100644 (file)
@@ -353,6 +353,7 @@ my %OPTDESC = (
        "or\xa0`-'\x{a0}for\x{a0}stdout)" ],
 'mua=s' => [ 'CMD',
        "MUA to run on --output Maildir or mbox (e.g.\xa0`mutt\xa0-f\xa0%f')" ],
+'new-only      import' => 'only import new messages from IMAP source',
 
 'inbox-version=i' => [ 'NUM|1|2',
                'force a public-inbox version with --mirror'],