diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-10-30 11:07:38 +0200 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-10-30 11:07:38 +0200 |
commit | c07cc2ba436659ca563534d884c7a36b96c60f2a (patch) | |
tree | dba788fd76aa94acfebb2b6769cb541bfd476a40 | |
parent | c3f6eda088776985244d2973ac09d338166069fe (diff) | |
download | bash-completion-c07cc2ba436659ca563534d884c7a36b96c60f2a.tar.gz |
cppcheck: -D can be followed by space, don't -o nospace it.
-rw-r--r-- | completions/cppcheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/cppcheck b/completions/cppcheck index c24beb2b..c31966d6 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 |