summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-09-16 21:06:25 +0400
committerIgor Murzov <e-mail@date.by>2011-09-26 02:59:13 +0400
commita1b8148d234f5a49d8da28977387e0463ce349ed (patch)
treeb8bc7de51ec9efe34935a7fb572f9f31c51e7ea9
parente3345a27b6ac356b96d6649c45ef9c2cb14ef575 (diff)
downloadbash-completion-a1b8148d234f5a49d8da28977387e0463ce349ed.tar.gz
cppcheck: Complete --std= option arguments
See: https://github.com/danmar/cppcheck/commit/afed93d7d631398876b75f0f398748d03f0a772e
-rw-r--r--completions/cppcheck4
1 files changed, 4 insertions, 0 deletions
diff --git a/completions/cppcheck b/completions/cppcheck
index d2791ccc..fc982511 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