From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4A1321FC9E for ; Sat, 6 Feb 2021 12:18:46 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 17/17] lei: remove short switch support for curl(1) options Date: Sat, 6 Feb 2021 12:18:44 +0000 Message-Id: <20210206121844.10979-18-e@80x24.org> In-Reply-To: <20210206121844.10979-1-e@80x24.org> References: <20210206121844.10979-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: In particular, -U and -u switches may conflict with diff(1) options we may need for "lei show" which will use solver remotely or locally. --- lib/PublicInbox/LeiQuery.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm index 63945d53..0346498f 100644 --- a/lib/PublicInbox/LeiQuery.pm +++ b/lib/PublicInbox/LeiQuery.pm @@ -164,7 +164,7 @@ sub curl_opt { qw( connect-timeout=s connect-to=s cookie-jar=s cookie=s crlfile=s digest disable dns-interface=s dns-ipv4-addr=s dns-ipv6-addr=s dns-servers=s doh-url=s egd-file=s engine=s false-start - happy-eyeballs-timeout-ms=s haproxy-protocol header|H=s@ + happy-eyeballs-timeout-ms=s haproxy-protocol header=s@ http2-prior-knowledge http2 insecure interface=s ipv4 ipv6 junk-session-cookies key-type=s key=s limit-rate=s local-port=s location-trusted location @@ -177,7 +177,7 @@ sub curl_opt { qw( proxy-key-type=s proxy-key proxy-negotiate proxy-ntlm proxy-pass=s proxy-pinnedpubkey=s proxy-service-name=s proxy-ssl-allow-beast proxy-tls13-ciphers=s proxy-tlsauthtype=s proxy-tlspassword=s - proxy-tlsuser=s proxy-tlsv1 proxy-user|U=s proxy=s + proxy-tlsuser=s proxy-tlsv1 proxy-user=s proxy=s proxytunnel=s pubkey=s random-file=s referer=s resolve=s retry-connrefused retry-delay=s retry-max-time=s retry=i sasl-ir service-name=s socks4=s socks4a=s socks5-basic @@ -186,7 +186,7 @@ sub curl_opt { qw( suppress-connect-headers tcp-fastopen tls-max=s tls13-ciphers=s tlsauthtype=s tlspassword=s tlsuser=s tlsv1 trace-ascii=s trace-time trace=s - unix-socket=s user-agent|A=s user|u=s + unix-socket=s user-agent=s user=s ) }