[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-91-g2c4d20a

Igor Murzov e-mail at date.by
Wed Dec 14 15:46:21 UTC 2011


The following commit has been merged in the master branch:
commit 3f74a9f918bfeaaae40e18332be1f3bf0a3c9414
Author: Igor Murzov <e-mail at date.by>
Date:   Wed Dec 14 18:56:41 2011 +0400

    cppcheck: Add new options introduced in cppcheck-1.52.

diff --git a/completions/cppcheck b/completions/cppcheck
index 465f40d..24b877a 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -7,11 +7,11 @@ _cppcheck()
 
     case $prev in
         --append|--exitcode-suppressions|--file-list|--rule-file|\
-        --suppressions-list|-i)
+        --suppressions-list|--includes-file|-i)
             _filedir
             return
             ;;
-        -D|--rule|--suppress|--template)
+        -D|-U|--rule|--suppress|--template|--max-configs)
             return
             ;;
         --enable)
@@ -32,7 +32,7 @@ _cppcheck()
             return
             ;;
         --std)
-            COMPREPLY=( $( compgen -W 'c99 posix' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W 'c99 c++11 posix' -- "$cur" ) )
             return
             ;;
         --platform)

-- 
bash-completion



More information about the Bash-completion-commits mailing list