The following commit has been merged in the master branch:
commit 1c76e608fd67608afcfe11cc87229b5e52a1d171
Author: Ville Skyttä <[email protected]>
Date:   Tue May 3 09:35:53 2011 +0300

    __parse_options: Return 0 to avoid false negatives from _parse_* test cases.

diff --git a/bash_completion b/bash_completion
index 253d1fb..1be2128 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...
 

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to