Update 'go vet' completion

This commit is contained in:
Shohei YOSHIDA 2024-07-29 17:46:12 +09:00
parent 4b55f149e6
commit 177fadadba
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 3 additions and 2 deletions

View File

@ -1037,17 +1037,18 @@ case $state in
esac
;;
version)
(version)
_arguments \
'-m[print each executable embedded module version information]' \
'-v[report unrecognized files]' \
'*:files:_files'
;;
vet)
(vet)
_arguments \
'-n[print commands that would be executed]' \
'-x[prints commands as they are executed]' \
'-vettool[set a different analysis tool with alternative or additional checks]:prog:_files' \
${build_flags[@]} \
'*:importpaths:__go_packages'
;;