5
cur="${COMP_WORDS[COMP_CWORD]}"
6
prev="${COMP_WORDS[COMP_CWORD-1]}"
7
opts="--help --version"
9
if [[ ${cur} == -* ]] ; then
10
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
13
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
17
complete -F _nitrokey_app nitrokey-app