diff options
| author | Paul Seyfert <pseyfert.mathphys@gmail.com> | 2019-08-23 14:37:32 +0200 |
|---|---|---|
| committer | Paul Seyfert <pseyfert.mathphys@gmail.com> | 2019-08-23 14:37:32 +0200 |
| commit | 17239cec9686b24973db3cb0e5ee9730a4550047 (patch) | |
| tree | 670c2cfcd1b0fc7a60dec40fa68d2e2cd9310ef5 /src/_golang | |
| parent | fixup new env vars (diff) | |
| download | zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.tar zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.tar.gz zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.tar.bz2 zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.tar.lz zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.tar.xz zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.tar.zst zsh-completions-17239cec9686b24973db3cb0e5ee9730a4550047.zip | |
minor 1.13 changes
Diffstat (limited to 'src/_golang')
| -rw-r--r-- | src/_golang | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_golang b/src/_golang index 724ad61..db57926 100644 --- a/src/_golang +++ b/src/_golang @@ -108,6 +108,7 @@ case $state in '-linkshared[link against shared libraries]' '-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]' '-toolexec[program to use to invoke toolchain programs]:args' ) @@ -134,7 +135,7 @@ case $state in case $words[1] in build) _arguments \ - '-o[force build to write to named output file]:file:_files' \ + '-o[force build to write to named output file or directory]:file or directory:_files' \ '-i[installs the packages that are dependencies of the target]' \ ${build_flags[@]} \ '*:importpaths:__go_packages' |
