3 local cur prev ADVS OPTS
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
15 COMPREPLY=( $(compgen -W "${ADVS[*]}" -- $cur) )
18 '-o'|'--offset'|'-l'|'--length')
19 COMPREPLY=( $(compgen -W "bytes" -- $cur) )
22 '-h'|'--help'|'-V'|'--version')
33 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
39 COMPREPLY=( $(compgen -f -- $cur) )
42 complete -F _fadvise_module fadvise