5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
11 '-T'|'--sched-runtime'|'-P'|'--sched-period'|'-D'|'--sched-deadline')
12 COMPREPLY=( $(compgen -W "nanoseconds" -- $cur) )
36 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
41 for i in ${COMP_WORDS[*]}; do
44 COMPREPLY=( $(compgen -W "$(cd /proc && echo [0-9]*)" -- $cur) )
49 COMPREPLY=( $(compgen -c -- $cur) )
52 complete -F _chrt_module chrt