bash-completion: Don't offer any more completions after help or version.

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
This commit is contained in:
Ville Skyttä 2013-04-07 11:12:04 +03:00 committed by Karel Zak
parent 2885c533fd
commit d4f9b8d74c
87 changed files with 353 additions and 23 deletions

View file

@ -50,6 +50,9 @@ _setpriv_module()
COMPREPLY=( $(compgen -W "profile" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)