From 1c76e608fd67608afcfe11cc87229b5e52a1d171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 3 May 2011 09:35:53 +0300 Subject: [PATCH] __parse_options: Return 0 to avoid false negatives from _parse_* test cases. --- bash_completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_completion b/bash_completion index 253d1fb9..1be21280 100644 --- a/bash_completion +++ b/bash_completion @@ -761,7 +761,7 @@ __parse_options() *) break ;; esac done - [[ $option ]] || return + [[ $option ]] || return 0 IFS=$' \t\n' # affects parsing of the regexps below...