From ed04e9e16999b4624f884d0ab0b66ba16ae57691 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 13 Aug 2020 08:04:37 +0000 Subject: index|compact|xcpdb: support --all switch For -index, this is a convenient way to quickly index all inboxes after a grok-pull. Might as well support it for rarely used commands like -compact and -xcpdb, too. --- Documentation/public-inbox-compact.pod | 10 +++++++++- Documentation/public-inbox-index.pod | 8 ++++++++ Documentation/public-inbox-xcpdb.pod | 10 +++++++++- 3 files changed, 26 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/public-inbox-compact.pod b/Documentation/public-inbox-compact.pod index d7a7dba0..8e463ab1 100644 --- a/Documentation/public-inbox-compact.pod +++ b/Documentation/public-inbox-compact.pod @@ -4,7 +4,9 @@ public-inbox-compact - compact Xapian DBs in an inbox =head1 SYNOPSIS - public-inbox-compact INBOX_DIR +public-inbox-compact INBOX_DIR + +public-inbox-compact --all =head1 DESCRIPTION @@ -21,6 +23,12 @@ rest of the public-inbox search code. =over +=item --all + +Compact all inboxes configured in ~/.public-inbox/config. +This is an alternative to specifying individual inboxes directories +on the command-line. + =item --blocksize / --no-full / --fuller These options are passed directly to L. diff --git a/Documentation/public-inbox-index.pod b/Documentation/public-inbox-index.pod index b28db773..1ed9f5e7 100644 --- a/Documentation/public-inbox-index.pod +++ b/Documentation/public-inbox-index.pod @@ -6,6 +6,8 @@ public-inbox-index - create and update search indices public-inbox-index [OPTIONS] INBOX_DIR... +public-inbox-index [OPTIONS] --all + =head1 DESCRIPTION public-inbox-index creates and updates the search, overview and @@ -81,6 +83,12 @@ This does not touch the NNTP article number database. It does not affect threading unless C<--rethread> is used. +=item --all + +Index all inboxes configured in ~/.public-inbox/config. +This is an alternative to specifying individual inboxes directories +on the command-line. + =item --rethread Regenerate internal THREADID and message thread associations diff --git a/Documentation/public-inbox-xcpdb.pod b/Documentation/public-inbox-xcpdb.pod index 62a28c0a..2b38f1da 100644 --- a/Documentation/public-inbox-xcpdb.pod +++ b/Documentation/public-inbox-xcpdb.pod @@ -4,7 +4,9 @@ public-inbox-xcpdb - upgrade Xapian DB formats =head1 SYNOPSIS - public-inbox-xcpdb [OPTIONS] INBOX_DIR +public-inbox-xcpdb [OPTIONS] INBOX_DIR + +public-inbox-xcpdb [OPTIONS] --all =head1 DESCRIPTION @@ -19,6 +21,12 @@ L, and L. =over +=item --all + +Copy all inboxes configured in ~/.public-inbox/config. +This is an alternative to specifying individual inboxes directories +on the command-line. + =item -c, --compact In addition to performing the copy operation, run L -- cgit v1.2.3-24-ge0c7