Update 'go vet' completion
This commit is contained in:
parent
4b55f149e6
commit
177fadadba
|
@ -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'
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue