summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-09-21 03:46:37 +0400
committerIgor Murzov <e-mail@date.by>2011-09-26 02:59:15 +0400
commit0c06290764987c96418ec00f19fff7c2752fc075 (patch)
tree4ed6db4d5b6a05cf29bb95181d68f60bf79062ef
parentfd57faa53411549aa50ed8949a3bdba9c4280cf8 (diff)
downloadbash-completion-0c06290764987c96418ec00f19fff7c2752fc075.tar.gz
cppcheck: Complete --platform= option arguments
See: https://github.com/danmar/cppcheck/commit/b5d22fda0dcaa2d76c74e9792701a5fe52d480c6
-rw-r--r--completions/cppcheck4
1 files changed, 4 insertions, 0 deletions
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