The following commit has been merged in the master branch:
commit c07cc2ba436659ca563534d884c7a36b96c60f2a
Author: Ville Skyttä <[email protected]>
Date:   Sun Oct 30 11:07:38 2011 +0200

    cppcheck: -D can be followed by space, don't -o nospace it.

diff --git a/completions/cppcheck b/completions/cppcheck
index c24beb2..c31966d 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -49,7 +49,7 @@ _cppcheck()
 
     if [[ $cur == -* ]]; then
         COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
-        [[ $COMPREPLY == @(-D|*=) ]] && compopt -o nospace
+        [[ $COMPREPLY == *= ]] && compopt -o nospace
     else
         _filedir @(cpp|cxx|cc|c++|c|tpp|txx)
     fi

-- 
bash-completion

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

Reply via email to