5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
8 '-h'|'--help'|'-V'|'--version')
23 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
27 COMPREPLY=( $(compgen -W "size range blockrange" -- $cur) )
30 complete -F _chmem_module chmem