6 cur="${COMP_WORDS[COMP_CWORD]}"
7 prev="${COMP_WORDS[COMP_CWORD-1]}"
12 COMPREPLY=( $(compgen -f -- $cur) )
16 COMPREPLY=( $(compgen -W "kern user mail daemon auth syslog lpr news" -- $cur) )
19 '-l'|'--level'|'-n'|'--console-level')
20 COMPREPLY=( $(compgen -W "emerg alert crit err warn notice info debug" -- $cur) )
24 COMPREPLY=( $(compgen -W "size" -- $cur) )
28 COMPREPLY=( $(compgen -W "delta reltime ctime notime iso" -- $cur) )
31 '-h'|'--help'|'-V'|'--version')
61 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
64 complete -F _dmesg_module dmesg