From d460debc6f2747699a54b7ea0e25f4ec69bf1b3d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 03:03:58 +0200 Subject: Adding upstream version 1:2.13.0. Signed-off-by: Daniel Baumann --- completions/curl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'completions/curl') diff --git a/completions/curl b/completions/curl index 6cbbca4..55865c0 100644 --- a/completions/curl +++ b/completions/curl @@ -22,7 +22,7 @@ _comp_cmd_curl() --happy-eyeballs-timeout-ms | --hostpubmd5 | --keepalive-time | \ --limit-rate | --local-port | --login-options | --mail-auth | \ --mail-from | --mail-rcpt | --max-filesize | --max-redirs | \ - --max-time | --pass | --proto | --proto-default | --proto-redir | \ + --max-time | --pass | --proto | --proto-redir | \ --proxy-ciphers | --proxy-pass | --proxy-service-name | \ --proxy-tls13-ciphers | --proxy-tlspassword | --proxy-tlsuser | \ --proxy-user | --proxy1.0 | --quote | --range | --referer | \ @@ -127,6 +127,9 @@ _comp_cmd_curl() _comp_compgen_known_hosts -- "$cur" return ;; + --proto-default) + _comp_compgen_split "$("$1" --version 2>/dev/null | command sed -e '/Protocols/!d' -e 's/Protocols://')" + ;; --pubkey) _comp_compgen -x ssh identityfile pub return -- cgit v1.2.3