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

This commit is contained in:
Ville Skyttä 2011-10-30 11:07:38 +02:00
parent c3f6eda088
commit c07cc2ba43

View File

@ -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