src/cmd/go/alldocs.go | 5 ++--- src/cmd/go/internal/work/build.go | 5 ++--- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 1d3098a76e4597c7f12cf00506ce372e225fa513..826b0ccf19ce359c5235a3a7a81b069748caea68 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -209,9 +209,8 @@ // is deprecated but still recognized.) // -trimpath // remove all file system paths from the resulting executable. // Instead of absolute file system paths, the recorded file names -// will begin with either "go" (for the standard library), -// or a module path@version (when using modules), -// or a plain import path (when using GOPATH). +// will begin either a module path@version (when using modules), +// or a plain import path (when using the standard library, or GOPATH). // -toolexec 'cmd args' // a program to use to invoke toolchain programs like vet and asm. // For example, instead of running asm, the go command will run diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go index 56648338c553c47e2c4f664acd278d926a78fcee..1c278d3d992838549ea170ada4b53ef581244171 100644 --- a/src/cmd/go/internal/work/build.go +++ b/src/cmd/go/internal/work/build.go @@ -162,9 +162,8 @@ is deprecated but still recognized.) -trimpath remove all file system paths from the resulting executable. Instead of absolute file system paths, the recorded file names - will begin with either "go" (for the standard library), - or a module path@version (when using modules), - or a plain import path (when using GOPATH). + will begin either a module path@version (when using modules), + or a plain import path (when using the standard library, or GOPATH). -toolexec 'cmd args' a program to use to invoke toolchain programs like vet and asm. For example, instead of running asm, the go command will run