From 1c362f4c99eea0ae32ffb6f006f71d1bfb18bc78 Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Wed, 5 Sep 2012 15:34:56 +0400 Subject: [PATCH] cppcheck: Add new standards to --std option. These were introduced in cppcheck-1.56. --- completions/cppcheck | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/completions/cppcheck b/completions/cppcheck index bcf937bb..2ee5359b 100644 --- a/completions/cppcheck +++ b/completions/cppcheck @@ -40,7 +40,8 @@ _cppcheck() return ;; --std) - COMPREPLY=( $( compgen -W 'c99 c++11 posix' -- "$cur" ) ) + COMPREPLY=( $( compgen -W 'c89 c99 c11 c++03 c++11 posix' \ + -- "$cur" ) ) return ;; --platform)