about summary refs log tree commit homepage
path: root/script
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-11-28 05:31:58 +0000
committerEric Wong <e@80x24.org>2022-11-28 23:38:57 +0000
commit9537b9c7201a7c656c3efcb9918df930a7447981 (patch)
tree5543493cf7c6d35f11041fb4e03c199062dc47e8 /script
parent225b9614f1e883273dada2709dead9ddb7fe40c8 (diff)
downloadpublic-inbox-9537b9c7201a7c656c3efcb9918df930a7447981.tar.gz
Allowing just `--objstore' without `=' was confusing,
since it could eat one of the required parameters (URL or
DESTINATION).
Diffstat (limited to 'script')
-rwxr-xr-xscript/public-inbox-clone4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/public-inbox-clone b/script/public-inbox-clone
index 26f42e74..e38d7b0d 100755
--- a/script/public-inbox-clone
+++ b/script/public-inbox-clone
@@ -13,7 +13,7 @@ usage: public-inbox-clone INBOX_URL [DESTINATION]
 options:
 
   --epoch=RANGE       range of v2 epochs to clone (e.g `2..5', `~0', `~1..')
-  --objstore [DIR]    share storage for coderepos
+  --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'
@@ -23,7 +23,7 @@ options:
     -C DIR            chdir to specified directory
 EOF
 GetOptions($opt, qw(help|h quiet|q verbose|v+ C=s@ c=s@ include|I=s@ exclude=s@
-        inbox-config=s inbox-version=i objstore:s
+        inbox-config=s inbox-version=i objstore=s
         dry-run|n jobs|j=i no-torsocks torsocks=s epoch=s)) or die $help;
 if ($opt->{help}) { print $help; exit };
 require PublicInbox::Admin; # loads Config