The following commit has been merged in the master branch:
commit 0c06290764987c96418ec00f19fff7c2752fc075
Author: Igor Murzov <[email protected]>
Date:   Wed Sep 21 03:46:37 2011 +0400

    cppcheck: Complete --platform= option arguments
    
    See: 
https://github.com/danmar/cppcheck/commit/b5d22fda0dcaa2d76c74e9792701a5fe52d480c6

diff --git a/completions/cppcheck b/completions/cppcheck
index 272166b..bb45beb 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -37,6 +37,10 @@ _cppcheck()
             COMPREPLY=( $( compgen -W 'posix' -- "$cur" ) )
             return
             ;;
+        --platform)
+            COMPREPLY=( $( compgen -W 'unix32 unix64 win32 win64' -- "$cur" ) )
+            return
+            ;;
         --xml-version)
             COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) )
             return

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