X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=script%2Fpublic-inbox-fetch;h=f9bac4e3f582013824b98d98bde60808cbf61d73;hb=21fcd8a37c82c1ef654d402cf592f0c9d803aa26;hp=d7d4ba47ab613254d43e28ec3449bc26a5271452;hpb=6393ec8118e7f5481ab476c2d73614c89c64866f;p=public-inbox.git 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