Upgrade to 1.46.0
[platform/upstream/nghttp2.git] / doc / bash_completion / nghttpd
1 _nghttpd()
2 {
3     local cur prev split=false
4     COMPREPLY=()
5     COMP_WORDBREAKS=${COMP_WORDBREAKS//=}
6
7     cmd=${COMP_WORDS[0]}
8     _get_comp_words_by_ref cur prev
9     case $cur in
10         -*)
11             COMPREPLY=( $( compgen -W '--address --daemon --verify-client --htdocs --verbose --no-tls --header-table-size --encoder-header-table-size --color --push --padding --max-concurrent-streams --workers --error-gzip --window-bits --connection-window-bits --dh-param-file --early-response --trailer --hexdump --echo-upload --mime-types-file --no-content-length --version --help ' -- "$cur" ) )
12             ;;
13         *)
14             _filedir
15             return 0
16     esac
17     return 0
18 }
19 complete -F _nghttpd nghttpd