mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
cmd/go: correct -trimpath docs for the standard library
Fixes #50402 Change-Id: Ic539afc1aef3906ef591b403eba0fde20a5ccef2 Reviewed-on: https://go-review.googlesource.com/c/go/+/380078 Reviewed-by: Bryan Mills <bcmills@google.com> Trust: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
This commit is contained in:
parent
1fadc392cc
commit
5fd8c9b5c5
|
@ -209,9 +209,8 @@
|
|||
// -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
|
||||
|
|
|
@ -162,9 +162,8 @@ and test commands:
|
|||
-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
|
||||
|
|
Loading…
Reference in a new issue