5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "size" -- $cur) )
13 COMPREPLY=( $(compgen -W "number" -- $cur) )
17 COMPREPLY=( $(compgen -W "mode" -- $cur) )
20 '-h'|'--help'|'-V'|'--version')
24 COMPREPLY=( $(compgen -W "--shmem --semaphore --queue --mode --help --version" -- $cur) )
27 complete -F _ipcmk_module ipcmk