From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B18A41F9F4 for ; Fri, 10 Sep 2021 09:08:50 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 4/4] doc: lei-index manpage Date: Fri, 10 Sep 2021 09:08:50 +0000 Message-Id: <20210910090850.18906-5-e@80x24.org> In-Reply-To: <20210910090850.18906-1-e@80x24.org> References: <20210910090850.18906-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It's a pretty incomplete command, so it's important to document its incompleteness. --- Documentation/lei-index.pod | 69 +++++++++++++++++++++++++++++++++++++ MANIFEST | 1 + Makefile.PL | 2 +- 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 Documentation/lei-index.pod diff --git a/Documentation/lei-index.pod b/Documentation/lei-index.pod new file mode 100644 index 00000000..bd125bcc --- /dev/null +++ b/Documentation/lei-index.pod @@ -0,0 +1,69 @@ +=head1 NAME + +lei-index - index messages without importing them into lei/store + +=head1 SYNOPSIS + +lei index [OPTIONS] FOLDER + +lei index [OPTIONS] --stdin + +=head1 DESCRIPTION + +Similar to L, but does not store a copy of +messages into C. + +This command only makes sense for messages stored in Maildir +folders. Other folder types may be supported in the future +(they can all be indexed, but the message isn't automatically +retrieved by L or L). + +Combined with L, C allows Maildir users to +have similar functionality to L by not duplicating +messages into C. + +=head1 OPTIONS + +=over + +=item - + +=item --stdin + +Read input from standard input. This is the default if standard +input is a pipe or regular file and there are no arguments on +the command-line. + +=item -F MAIL_FORMAT + +=item --in-format=MAIL_FORMAT + +Message input format: C, C, C, C, C, +C, C, C, C, or C. + +Default: C when reading from stdin + +=item -q + +=item --quiet + +Suppress feedback messages. + +=back + +=head1 CONTACT + +Feedback welcome via plain-text mail to L + +The mail archives are hosted at L and +L + +=head1 COPYRIGHT + +Copyright all contributors L + +License: AGPL-3.0+ L + +=head1 SEE ALSO + +L, L diff --git a/MANIFEST b/MANIFEST index 531f8c46..c0e3e855 100644 --- a/MANIFEST +++ b/MANIFEST @@ -31,6 +31,7 @@ Documentation/lei-edit-search.pod Documentation/lei-forget-external.pod Documentation/lei-forget-search.pod Documentation/lei-import.pod +Documentation/lei-index.pod Documentation/lei-init.pod Documentation/lei-lcat.pod Documentation/lei-ls-external.pod diff --git a/Makefile.PL b/Makefile.PL index 82b50543..bfabb171 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,7 +47,7 @@ $v->{-m1} = [ map { qw( lei-add-external lei-blob lei-config lei-convert lei-edit-search lei-daemon-kill lei-daemon-pid lei-forget-external lei-forget-search - lei-import lei-init lei-lcat lei-ls-external lei-ls-label + lei-import lei-index lei-init lei-lcat lei-ls-external lei-ls-label lei-ls-mail-sync lei-ls-search lei-p2q lei-q lei-rediff lei-rm lei-tag lei-up)]; $v->{-m5} = [ qw(public-inbox-config public-inbox-v1-format