From 0c06290764987c96418ec00f19fff7c2752fc075 Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Wed, 21 Sep 2011 03:46:37 +0400 Subject: cppcheck: Complete --platform= option arguments See: https://github.com/danmar/cppcheck/commit/b5d22fda0dcaa2d76c74e9792701a5fe52d480c6 --- completions/cppcheck | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/completions/cppcheck b/completions/cppcheck index 272166bc..bb45bebf 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 -- cgit v1.2.1