• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1_h2load()
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 '--requests --clients --threads --input-file --max-concurrent-streams --max-frame-size --window-bits --connection-window-bits --header --ciphers --tls13-ciphers --no-tls-proto --data --rate --rate-period --duration --warm-up-time --connection-active-timeout --connection-inactivity-timeout --timing-script-file --base-uri --npn-list --h1 --header-table-size --encoder-header-table-size --log-file --qlog-file-base --connect-to --rps --groups --no-udp-gso --max-udp-payload-size --ktls --verbose --version --help ' -- "$cur" ) )
12            ;;
13        *)
14            _filedir
15            return 0
16    esac
17    return 0
18}
19complete -F _h2load h2load
20