[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-259-g21c5a0e

Ville Skyttä ville.skytta at iki.fi
Tue May 3 07:48:25 UTC 2011


The following commit has been merged in the master branch:
commit 1c76e608fd67608afcfe11cc87229b5e52a1d171
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list