vcompletion: return failure on wrong arguments
This commit is contained in:
parent
0b4351b8e1
commit
b44a69c772
|
@ -254,6 +254,9 @@ _vcompletion() {
|
|||
bash) vinstall "$file" 0644 $_bash_completion_dir "${cmd}" ;;
|
||||
fish) vinstall "$file" 0644 $_fish_completion_dir "${cmd}.fish" ;;
|
||||
zsh) vinstall "$file" 0644 $_zsh_completion_dir "_${cmd}" ;;
|
||||
*) msg_red "$pkgver: vcompletion: unknown shell ${shell}" ;;
|
||||
*)
|
||||
msg_red "$pkgver: vcompletion: unknown shell ${shell}"
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user