From d4f9b8d74c5110c6ee92483facd7a0d94a1a9e57 Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Sun, 7 Apr 2013 11:12:04 +0300 Subject: bash-completion: Don't offer any more completions after help or version. Signed-off-by: Ville Skyttä --- bash-completion/whereis | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash-completion/whereis') diff --git a/bash-completion/whereis b/bash-completion/whereis index 96e4117a9..2273a07c5 100644 --- a/bash-completion/whereis +++ b/bash-completion/whereis @@ -10,6 +10,9 @@ _whereis_module() COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) ) return 0 ;; + '-h'|'-V') + return 0 + ;; esac case $cur in -*) -- cgit v1.2.3-55-g7522