about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-03-05 22:18:11 +0000
committerEric Wong <e@80x24.org>2023-03-07 19:12:35 +0000
commit8eca0987cfbcea8b1276d9852fb26d0ddb11ed3b (patch)
treee22fa6d6a79047464f005a9b5ec1ebd7ea50f199 /script
parentb1444df229235fdc26edb157f471aa041ed87dde (diff)
downloadpublic-inbox-8eca0987cfbcea8b1276d9852fb26d0ddb11ed3b.tar.gz
Basically, public-inbox-clone has become grok-pull without
config files nor absolute paths.
Diffstat (limited to 'script')
-rwxr-xr-xscript/public-inbox-clone12
1 files changed, 8 insertions, 4 deletions
diff --git a/script/public-inbox-clone b/script/public-inbox-clone
index 10ad3487..5b365df7 100755
--- a/script/public-inbox-clone
+++ b/script/public-inbox-clone
@@ -6,21 +6,25 @@ use v5.12;
 use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev);
 my $opt = {};
 my $help = <<EOF; # the following should fit w/o scrolling in 80x24 term:
-usage: public-inbox-clone INBOX_URL [DESTINATION]
+usage: public-inbox-clone [OPTIONS] INBOX_URL [INBOX_DIR]
+       public-inbox-clone [OPTIONS] ROOT_URL [DESTINATION]
 
-  clone remote public-inboxes
+  clone remote public-inboxes or grokmirror manifests
 
 options:
 
   --epoch=RANGE       range of v2 epochs to clone (e.g `2..5', `~0', `~1..')
-  --objstore=DIR      share storage for coderepos
   --torsocks VAL      whether or not to wrap git and curl commands with
                       torsocks (default: `auto')
                       Must be one of: `auto', `no' or `yes'
   --dry-run | -n      show what would be cloned without cloning
   --verbose | -v      increase verbosity (may be repeated)
-    --quiet | -q      increase verbosity (may be repeated)
+    --quiet | -q      disable progress reporting
     -C DIR            chdir to specified directory
+
+See public-inbox-clone(1) man page for --manifest, --remote-manifest,
+--objstore, --project-list, --post-update-hook, --include, --exclude,
+--prune, --keep-going, --jobs, --inbox-config
 EOF
 
 # cgit calls it `project-list', grokmirror calls it `projectslist',