From: Kyle Meyer Date: Sat, 27 Feb 2021 18:03:26 +0000 (-0500) Subject: doc: lei: update manpages X-Git-Tag: v1.7.0~1052 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=82e81eeb8925580728a6b73aae7d960ab271cffc doc: lei: update manpages Catch up with recent developments. --- diff --git a/Documentation/lei-import.pod b/Documentation/lei-import.pod index ef20e2f6..7d5b2576 100644 --- a/Documentation/lei-import.pod +++ b/Documentation/lei-import.pod @@ -11,12 +11,14 @@ 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. For a regular -file, the location must have a CformatE:> prefix specifying -one of the following formats: C, C, C, -C, or C. +source of messages: a directory (Maildir), a file, or a URL +(C, C, C, or C). URLs requiring +authentication must use L and/or L to +fill in the username and password. -TODO: Update when URL support is added. +For a regular file, the location must have a CformatE:> +prefix specifying one of the following formats: C, C, +C, C, or C. =head1 OPTIONS @@ -31,6 +33,13 @@ format prefix with C is preferred. Read messages from stdin. +=item --lock + +L locking method(s) to use: C, C, C or +C. + +Default: fcntl,dotlock + =item --no-kw, --no-keywords, --no-flags Don't import message keywords (or "flags" in IMAP terminology). diff --git a/Documentation/lei-q.pod b/Documentation/lei-q.pod index 0959beac..e878157d 100644 --- a/Documentation/lei-q.pod +++ b/Documentation/lei-q.pod @@ -26,18 +26,22 @@ Read search terms from stdin. =item -o MFOLDER, --output=MFOLDER, --mfolder=MFOLDER -Destination for results (e.g., C or -C). The format can be specified by adding a -CformatE:> prefix with any of these values: C, +Destination for results (e.g., C, +C, or +C). The prefix may be a supported protocol: +C, C, C, or C. URLs requiring +authentication must use L and/or L to +fill in the username and password. + +The prefix can instead specify the format of the output: C, C, C, C, C, C, C, or -C. +C. When a format isn't specified, it's chosen based on +the destination. C is used for the default destination +(stdout), and C is used for an existing directory or +non-existing path. TODO: Provide description of formats? -When a format isn't specified, it's chosen based on the destination. -C is used for the default destination (stdout), and C -is used for an existing directory or non-existing path. - Default: - =item -f FORMAT, --format=FORMAT @@ -130,6 +134,18 @@ multiple times, in which case the search uses only the specified set. Do not match locations using C<*?> wildcards and C<[]> ranges. This option applies to C<--include>, C<--exclude>, and C<--only>. +=item --no-import-remote + +Disable the default behavior of memoizing remote messages into the +local store. + +=item --lock + +L locking method(s) to use: C, C, C or +C. + +Default: fcntl,dotlock + =item -NUMBER, -n NUMBER, --limit=NUMBER Limit the number of matches. diff --git a/Documentation/lei.pod b/Documentation/lei.pod index 9ce9e9a4..e1502122 100644 --- a/Documentation/lei.pod +++ b/Documentation/lei.pod @@ -4,7 +4,7 @@ lei - local email interface for public-inbox =head1 SYNOPSIS -lei COMMAND +lei [OPTIONS] COMMAND =head1 DESCRIPTION @@ -19,6 +19,19 @@ indices). Available in public-inbox 1.7.0+. +=head1 OPTIONS + +=over + +=item -C DIR + +Change current working directory to the specified directory before +running the command. This option can be given before or after +C and is accepted by all lei subcommands except +L. + +=back + =head1 COMMANDS Subcommands for initializing and managing local, writable storage: diff --git a/Documentation/txt2pre b/Documentation/txt2pre index 8421cad7..3277531f 100755 --- a/Documentation/txt2pre +++ b/Documentation/txt2pre @@ -102,6 +102,7 @@ $xurls{'git-filter-repo(1)'} = 'https://github.com/newren/git-filter-repo'. $xurls{'ssoma(1)'} = 'https://ssoma.public-inbox.org/ssoma.txt'; $xurls{'cgitrc(5)'} = 'https://git.zx2c4.com/cgit/tree/cgitrc.5.txt'; $xurls{'prove(1)'} = 'https://perldoc.perl.org/prove.html'; +$xurls{'mbox(5)'} = 'https://manpages.debian.org/stable/mutt/mbox.5.en.html'; my $str = do { local $/; }; my ($title) = ($str =~ /\A([^\n]+)/);