diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2021-02-25 11:19:49 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2021-02-25 11:32:20 +0900 |
| commit | d16c8aea5424e77d67143218beb6c04d3c4c7bd9 (patch) | |
| tree | c7d174cfa63a1193a52abc9617c1beadcd004e8b /src/_golang | |
| parent | Merge pull request #782 from davidhcefx/master (diff) | |
| download | zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.tar zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.tar.gz zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.tar.bz2 zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.tar.lz zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.tar.xz zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.tar.zst zsh-completions-d16c8aea5424e77d67143218beb6c04d3c4c7bd9.zip | |
Add new flags which are introduced at Go 1.16
Diffstat (limited to 'src/_golang')
| -rw-r--r-- | src/_golang | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/_golang b/src/_golang index 8356f01..8383150 100644 --- a/src/_golang +++ b/src/_golang @@ -347,6 +347,7 @@ case $state in '-installsuffix[suffix to add to package directory]:suffix' '-ldflags[arguments to pass on each go tool link invocation.]:flags' '-linkshared[link against shared libraries]' + '-overlay[read a JSON config file that provides an overlay for build operations]:file:_files -g "*.json"' '-pkgdir[install and load all packages from dir]:dir' '-tags[list of build tags to consider satisfied]:tags' '-trimpath[remove all file system paths from the resulting executable]' @@ -590,11 +591,13 @@ case $state in ;; tidy) _arguments \ - '-v[print information about removed modules to standard error]' + '-v[print information about removed modules to standard error]' \ + '-e[attempt to proceed despite errors encountered while loading packages]' ;; vendor) _arguments \ - '-v[print the names of vendored modules and packages to standard error]' + '-v[print the names of vendored modules and packages to standard error]' \ + '-e[attempt to proceed despite errors encountered while loading packages]' ;; verify) ;; |
