Cleanup code

This commit is contained in:
Shohei YOSHIDA
2024-08-04 14:19:29 +09:00
parent 8abb801db2
commit 4dfb7a51c5
11 changed files with 174 additions and 163 deletions
+1 -4
View File
@@ -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 -/" \