The following commit has been merged in the master branch:
commit ec5762cba9ef34f6836da858560e47b196cbb6cf
Author: Igor Murzov <[email protected]>
Date:   Sun Oct 9 22:18:38 2011 +0400

    cppcheck: Add new option arguments completions (added in cppcheck-1.51).

diff --git a/completions/cppcheck b/completions/cppcheck
index bb45beb..befd109 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -34,11 +34,11 @@ _cppcheck()
             return
             ;;
         --std)
-            COMPREPLY=( $( compgen -W 'posix' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W 'c99 posix' -- "$cur" ) )
             return
             ;;
         --platform)
-            COMPREPLY=( $( compgen -W 'unix32 unix64 win32 win64' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W 'unix32 unix64 win32A win32W win64' -- 
"$cur" ) )
             return
             ;;
         --xml-version)

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to