_owi2_completions() { local cur COMPREPLY=() cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=($(compgen -W '--help --check --kfz --preflight --run all --stats --replay' -- $cur)) } complete -F _owi2_completions owi2