[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-83-gda4956a
Ville Skyttä
ville.skytta at iki.fi
Sun Dec 4 22:33:04 UTC 2011
The following commit has been merged in the master branch:
commit da4956af1fda85d80c75f89c13814cd57877c0bd
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Dec 5 00:32:24 2011 +0200
curl: Add bunch of new option argument completions.
diff --git a/completions/curl b/completions/curl
index f0fc6ac..6b56aa5 100644
--- a/completions/curl
+++ b/completions/curl
@@ -6,18 +6,20 @@ _curl()
_init_completion || return
case $prev in
- --ciphers|--connect-timeout|-C|--continue-at|--form|--form-string|\
+ --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)
+ --time-cond|--url|-u|--user|-A|--user-agent|-V|--version|-w|\
+ --write-out|--resolve|--tlsuser|--tlspassword)
return
;;
-K|--config|-b|--cookie|-c|--cookie-jar|-D|--dump-header|--egd-file|\
- --key|--libcurl|-o|--output|--random-file|-T|--upload-file)
+ --key|--libcurl|-o|--output|--random-file|-T|--upload-file|--trace|\
+ --trace-ascii|--netrc-file)
_filedir
return
;;
@@ -45,6 +47,10 @@ _curl()
fi
return
;;
+ --delegation)
+ COMPREPLY=( $( compgen -W 'none policy always' -- "$cur" ) )
+ return
+ ;;
--engine)
COMPREPLY=( $( compgen -W 'list' -- "$cur" ) )
return
@@ -74,6 +80,10 @@ _curl()
_filedir
return
;;
+ --tlsauthtype)
+ COMPREPLY=( $( compgen -W 'SRP' -- "$cur" ) )
+ return
+ ;;
esac
if [[ $cur == -* ]]; then
--
bash-completion
More information about the Bash-completion-commits
mailing list