wget: Add --accept-regex/--reject-regex/--regex-type arg (non)completions.

master
Ville Skyttä 2013-05-09 14:03:52 +03:00
parent 1969d125ba
commit 5c6b1bb4a4
1 changed files with 6 additions and 1 deletions

View File

@ -147,9 +147,14 @@ _wget()
COMPREPLY=( $( compgen -W 'bits' -- "$cur" ) )
return
;;
--regex-type)
COMPREPLY=( $( compgen -W 'posix' -- "$cur" ) )
return
;;
-B|--base|--password|--ftp-password|--http-password|--proxy-password|\
--default-page|--referer|-U|--user-agent|--post-data|--warc-header|-A|\
--accept|-R|--reject|-I|--include-directories|-X|--exclude-directories)
--accept|-R|--reject|--accept-regex|--reject-regex|-I|\
--include-directories|-X|--exclude-directories)
# argument required but no completions available
return
;;