From 17239cec9686b24973db3cb0e5ee9730a4550047 Mon Sep 17 00:00:00 2001 From: Paul Seyfert Date: Fri, 23 Aug 2019 14:37:32 +0200 Subject: [PATCH] minor 1.13 changes --- src/_golang | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'