From 40c1e442160de626cf5f991392ea723d2ab82d49 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Sun, 7 Aug 2022 12:04:22 +0900 Subject: [PATCH] Update for go 1.19 'tool compile' no longer accepts '-importmap' --- src/_golang | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/_golang b/src/_golang index a7c4243..b54a0e5 100644 --- a/src/_golang +++ b/src/_golang @@ -30,7 +30,7 @@ # Description # ----------- # -# Completion script for go 1.18 (http://golang.org). +# Completion script for go 1.19 (http://golang.org). # # ------------------------------------------------------------------------------ # Authors @@ -144,7 +144,6 @@ __go_gcflags() { '-goversion=[required version of the runtime]:string' \ '-h[halt on error]' \ '-importcfg=[read import configuration from file]:file' \ - '-importmap=[add definition of the form source=actual to import map]:definition' \ '-installsuffix=[set pkg directory suffix]:suffix' \ '-j[debug runtime-initialized variables]' \ '-json=[version,destination for JSON compiler/optimizer logging]:string' \ @@ -811,7 +810,6 @@ case $state in '-g[debug code generation]' \ '-h[halt on error]' \ '-i[debug line number stack]' \ - '-importmap[add definition of the form source=actual to import map]:definition' \ '-installsuffix[set pkg directory suffix]:suffix' \ '-j[debug runtime-initialized variables]' \ '-l[disable inlining]' \