[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-486-g2a88af0

Ville Skyttä ville.skytta at iki.fi
Sun Oct 30 09:11:53 UTC 2011


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



More information about the Bash-completion-commits mailing list