diff options
author | Eric Wong <e@80x24.org> | 2021-10-13 11:06:21 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-13 19:52:26 +0000 |
commit | 3dc766ffb925d8c255a109d633fa5c4702c1fe23 (patch) | |
tree | bd51f5fe391ab0c3db7d5743ae2bdfff32278ef2 /script | |
parent | a565ab97852d4885e8bed138865eceafdabf63ec (diff) | |
download | public-inbox-3dc766ffb925d8c255a109d633fa5c4702c1fe23.tar.gz |
This allows -fetch to work out-of-the-box on using the grokmirror 2.x default of "_grokmirror".
Diffstat (limited to 'script')
-rwxr-xr-x | script/public-inbox-fetch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/script/public-inbox-fetch b/script/public-inbox-fetch index d7d4ba47..f9bac4e3 100755 --- a/script/public-inbox-fetch +++ b/script/public-inbox-fetch @@ -16,12 +16,14 @@ options: --torsocks VAL whether or not to wrap git and curl commands with torsocks (default: `auto') Must be one of: `auto', `no' or `yes' + -T NAME Name of remote(s) to try (may be repeated) + default: `origin' and `_grokmirror' --exit-code exit with 127 if no updates --verbose | -v increase verbosity (may be repeated) --quiet | -q increase verbosity (may be repeated) -C DIR chdir to specified directory EOF -GetOptions($opt, qw(help|h quiet|q verbose|v+ C=s@ c=s@ +GetOptions($opt, qw(help|h quiet|q verbose|v+ C=s@ c=s@ try-remote|T=s@ no-torsocks torsocks=s exit-code)) or die $help; if ($opt->{help}) { print $help; exit }; require PublicInbox::Fetch; # loads Admin |