diff options
author | Eric Wong <e@80x24.org> | 2021-03-22 07:53:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-03-23 00:07:08 +0000 |
commit | 5716d0b341e32710963bfff869130cc2cfc1cb7b (patch) | |
tree | f057df8056d1a5fc5aa3ee6cb8c0f67867e518ad /lib/PublicInbox/LeiExternal.pm | |
parent | 4766972757103d6a571902409e1fc0809cf822b0 (diff) | |
download | public-inbox-5716d0b341e32710963bfff869130cc2cfc1cb7b.tar.gz |
lei: support -c <name>=<value> to overrides
It's a bit nasty, but seems to mostly work for debugging IMAP and NNTP commands.
Diffstat (limited to 'lib/PublicInbox/LeiExternal.pm')
-rw-r--r-- | lib/PublicInbox/LeiExternal.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiExternal.pm b/lib/PublicInbox/LeiExternal.pm index f4e24c2a..9a555831 100644 --- a/lib/PublicInbox/LeiExternal.pm +++ b/lib/PublicInbox/LeiExternal.pm @@ -149,7 +149,7 @@ sub lei_add_external { my $mirror = $opt->{mirror} // do { my @fail; for my $sw ($self->index_opt, $self->curl_opt, - qw(c no-torsocks torsocks inbox-version)) { + qw(no-torsocks torsocks inbox-version)) { my ($f) = (split(/|/, $sw, 2))[0]; next unless defined $opt->{$f}; $f = length($f) == 1 ? "-$f" : "--$f"; |