aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cppcheck
diff options
context:
space:
mode:
Diffstat (limited to 'src/_cppcheck')
-rw-r--r--src/_cppcheck5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/_cppcheck b/src/_cppcheck
index e8ab3fe..859f656 100644
--- a/src/_cppcheck
+++ b/src/_cppcheck
@@ -49,12 +49,9 @@ _cppcheck_files() {
}
_cppcheck() {
- local curcontext="$curcontext" state line
- typeset -A opt_args
-
local check_ids='(all warning style performance portability information unusedFunction missingInclude)'
- _arguments -C \
+ _arguments \
"--addon=[Execute addon]" \
"--addon-python=[Specify the python interpreter]: :_files" \
"--cppcheck-build-dir=[Analysis output directory]:directory:_files -/" \