diff --git a/scripts/completions/bash-completion.sh b/scripts/completions/bash-completion.sh index 9c663b9..20c2fee 100644 --- a/scripts/completions/bash-completion.sh +++ b/scripts/completions/bash-completion.sh @@ -15,7 +15,7 @@ _ybconAutoComplete() { else case "${previous}" in -h | --help | --version ) - exit 0 ;; + return 0 ;; esac complete -f -o plusdirs -X '!*.ybcon' ybcon fi