[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-438-ge81223a

Igor Murzov e-mail at date.by
Sun Sep 25 23:04:01 UTC 2011


The following commit has been merged in the master branch:
commit 0c06290764987c96418ec00f19fff7c2752fc075
Author: Igor Murzov <e-mail at date.by>
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



More information about the Bash-completion-commits mailing list