X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Flei-import.pod;h=ad769084c05cf9da4ebe176a06273d6cfb2f18ce;hb=d07ba9c30800225052d17ccca458afbfa05a8ff0;hp=14ca2d45d6d8bfa17f85a95046a2acda05fbf9d2;hpb=389767f3b7eccc58859d7eade9ee2ba26b28f20d;p=public-inbox.git diff --git a/Documentation/lei-import.pod b/Documentation/lei-import.pod index 14ca2d45..ad769084 100644 --- a/Documentation/lei-import.pod +++ b/Documentation/lei-import.pod @@ -4,51 +4,102 @@ lei-import - one-time import of messages into local store =head1 SYNOPSIS -lei import [OPTIONS] LOCATION [LOCATION...] +lei import [OPTIONS] LOCATION [LOCATION...] [+L:LABEL] -lei import [OPTIONS] --stdin +lei import [OPTIONS] (--stdin|-) =head1 DESCRIPTION Import messages into the local storage of L. C is a -source of messages: a directory (Maildir) or a file (whose format is -specified via C<--format>). +source of messages: a directory (Maildir), a file, or a URL +(C, C, C, or C). URLs requiring +authentication use L to +fill in the username and password. -TODO: Update when URL support is added. +For a regular file, the C must have a CformatE:> +prefix specifying one of the following formats: C, +C, C, or C. =head1 OPTIONS =over -=item -f MAIL_FORMAT, --format=MAIL_FORMAT +=item -F MAIL_FORMAT -Message input format: C, C, C, C, -C. +=item --in-format=MAIL_FORMAT + +Message input format. Unless messages are given on stdin, using a +format prefix with C is preferred. =item --stdin Read messages from stdin. -=item --no-kw, --no-keywords, --no-flags +=item --lock + +L locking method(s) to use: C, C, C or +C. + +Default: fcntl,dotlock + +=item +L:LABEL + +Add the given C