The following commit has been merged in the master branch:
commit a1b8148d234f5a49d8da28977387e0463ce349ed
Author: Igor Murzov <[email protected]>
Date:   Fri Sep 16 21:06:25 2011 +0400

    cppcheck: Complete --std= option arguments
    
    See: 
https://github.com/danmar/cppcheck/commit/afed93d7d631398876b75f0f398748d03f0a772e

diff --git a/completions/cppcheck b/completions/cppcheck
index d2791cc..fc98251 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -33,6 +33,10 @@ _cppcheck()
             COMPREPLY=( $( compgen -W '{2..16}' -- "$cur" ) )
             return
             ;;
+        --std)
+            COMPREPLY=( $( compgen -W 'posix' -- "$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