mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-11-25 02:19:53 +08:00
Cleanup code
This commit is contained in:
11 files changed
+174
-163
No files matched your search
+1
-4
@@ -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 -/" \
|
||||
|
||||
Reference in new issue
Block a user