Update 'go vet' completion
This commit is contained in:
parent
4b55f149e6
commit
177fadadba
|
@ -1037,17 +1037,18 @@ case $state in
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
version)
|
(version)
|
||||||
_arguments \
|
_arguments \
|
||||||
'-m[print each executable embedded module version information]' \
|
'-m[print each executable embedded module version information]' \
|
||||||
'-v[report unrecognized files]' \
|
'-v[report unrecognized files]' \
|
||||||
'*:files:_files'
|
'*:files:_files'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
vet)
|
(vet)
|
||||||
_arguments \
|
_arguments \
|
||||||
'-n[print commands that would be executed]' \
|
'-n[print commands that would be executed]' \
|
||||||
'-x[prints commands as they are executed]' \
|
'-x[prints commands as they are executed]' \
|
||||||
|
'-vettool[set a different analysis tool with alternative or additional checks]:prog:_files' \
|
||||||
${build_flags[@]} \
|
${build_flags[@]} \
|
||||||
'*:importpaths:__go_packages'
|
'*:importpaths:__go_packages'
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue