cppcheck: -D can be followed by space, don't -o nospace it.
This commit is contained in:
parent
c3f6eda088
commit
c07cc2ba43
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user