20 lines
667 B
Plaintext
20 lines
667 B
Plaintext
_h2load()
|
|
{
|
|
local cur prev split=false
|
|
COMPREPLY=()
|
|
COMP_WORDBREAKS=${COMP_WORDBREAKS//=}
|
|
|
|
cmd=${COMP_WORDS[0]}
|
|
_get_comp_words_by_ref cur prev
|
|
case $cur in
|
|
-*)
|
|
COMPREPLY=( $( compgen -W '--threads --connection-window-bits --rate-period --input-file --npn-list --help --requests --timing-script-file --data --verbose --base-uri --ciphers --connection-active-timeout --rate --connection-inactivity-timeout --window-bits --clients --no-tls-proto --version --header --max-concurrent-streams ' -- "$cur" ) )
|
|
;;
|
|
*)
|
|
_filedir
|
|
return 0
|
|
esac
|
|
return 0
|
|
}
|
|
complete -F _h2load h2load
|