mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-14 02:27:03 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
|
@ -6,24 +6,24 @@ _curl()
|
|||
_init_completion || return
|
||||
|
||||
case $prev in
|
||||
--ciphers|--connect-timeout|-C|--continue-at|-F|--form|--form-string|\
|
||||
--ftp-account|--ftp-alternative-to-user|-P|--ftp-port|-H|--header|-h|\
|
||||
--help|--hostpubmd5|--keepalive-time|--krb|--limit-rate|--local-port|\
|
||||
--mail-from|--mail-rcpt|--max-filesize|--max-redirs|-m|--max-time|\
|
||||
--pass|--proto|--proto-redir|--proxy-user|--proxy1.0|-Q|--quote|-r|\
|
||||
--range|-X|--request|--retry|--retry-delay|--retry-max-time|\
|
||||
--socks5-gssapi-service|-t|--telnet-option|--tftp-blksize|-z|\
|
||||
--time-cond|--url|-u|--user|-A|--user-agent|-V|--version|-w|\
|
||||
--write-out|--resolve|--tlsuser|--tlspassword)
|
||||
--ciphers|--connect-timeout|--continue-at|--form|--form-string|\
|
||||
--ftp-account|--ftp-alternative-to-user|--ftp-port|--header|--help|\
|
||||
--hostpubmd5|--keepalive-time|--krb|--limit-rate|--local-port|\
|
||||
--mail-from|--mail-rcpt|--max-filesize|--max-redirs|--max-time|--pass|\
|
||||
--proto|--proto-redir|--proxy-user|--proxy1.0|--quote|--range|\
|
||||
--request|--retry|--retry-delay|--retry-max-time|\
|
||||
--socks5-gssapi-service|--telnet-option|--tftp-blksize|--time-cond|\
|
||||
--url|--user|--user-agent|--version|--write-out|--resolve|--tlsuser|\
|
||||
--tlspassword|-!(-*)[CFPHhmQrXtzuAVw])
|
||||
return
|
||||
;;
|
||||
-K|--config|-b|--cookie|-c|--cookie-jar|-D|--dump-header|--egd-file|\
|
||||
--key|--libcurl|-o|--output|--random-file|-T|--upload-file|--trace|\
|
||||
--trace-ascii|--netrc-file)
|
||||
--config|--cookie|--cookie-jar|--dump-header|--egd-file|\
|
||||
--key|--libcurl|--output|--random-file|--upload-file|--trace|\
|
||||
--trace-ascii|--netrc-file|-!(-*)[KbcDoT])
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--cacert|-E|--cert)
|
||||
--cacert|--cert|-!(-*)E)
|
||||
_filedir '@(c?(e)rt|cer|pem|der)'
|
||||
return
|
||||
;;
|
||||
|
@ -32,62 +32,66 @@ _curl()
|
|||
return
|
||||
;;
|
||||
--cert-type|--key-type)
|
||||
COMPREPLY=( $( compgen -W 'DER PEM ENG' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'DER PEM ENG' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--crlfile)
|
||||
_filedir crl
|
||||
return
|
||||
;;
|
||||
-d|--data|--data-ascii|--data-binary|--data-urlencode)
|
||||
--data|--data-ascii|--data-binary|--data-urlencode|-!(-*)d)
|
||||
if [[ $cur == \@* ]]; then
|
||||
cur=${cur:1}
|
||||
_filedir
|
||||
if [[ ${#COMPREPLY[@]} -eq 1 && -d "${COMPREPLY[0]}" ]]; then
|
||||
COMPREPLY[0]+=/
|
||||
compopt -o nospace
|
||||
fi
|
||||
COMPREPLY=( "${COMPREPLY[@]/#/@}" )
|
||||
fi
|
||||
return
|
||||
;;
|
||||
--delegation)
|
||||
COMPREPLY=( $( compgen -W 'none policy always' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'none policy always' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--engine)
|
||||
COMPREPLY=( $( compgen -W 'list' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'list' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--ftp-method)
|
||||
COMPREPLY=( $( compgen -W 'multicwd nocwd singlecwd' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'multicwd nocwd singlecwd' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--ftp-ssl-ccc-mode)
|
||||
COMPREPLY=( $( compgen -W 'active passive' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'active passive' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
--interface)
|
||||
_available_interfaces -a
|
||||
return
|
||||
;;
|
||||
-x|--proxy|--socks4|--socks4a|--socks5|--socks5-hostname)
|
||||
--proxy|--socks4|--socks4a|--socks5|--socks5-hostname|-!(-*)x)
|
||||
_known_hosts_real -- "$cur"
|
||||
return
|
||||
;;
|
||||
--pubkey)
|
||||
_filedir pub
|
||||
_xfunc ssh _ssh_identityfile pub
|
||||
return
|
||||
;;
|
||||
--stderr)
|
||||
COMPREPLY=( $( compgen -W '-' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '-' -- "$cur") )
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--tlsauthtype)
|
||||
COMPREPLY=( $( compgen -W 'SRP' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W 'SRP' -- "$cur") )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
|
||||
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
|
||||
fi
|
||||
} &&
|
||||
complete -F _curl curl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue