mirror of https://github.com/golang/go.git
cmd/link: explain how to find the name to use for -X
Doc change only. Fixes #18246. Change-Id: I2c7b181bcec81e124d30702f6fac5aa43bb57c04 Reviewed-on: https://go-review.googlesource.com/34230 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
386b66f5bd
commit
4284edb999
|
|
@ -41,6 +41,8 @@ Flags:
|
|||
Set the value of the string variable in importpath named name to value.
|
||||
Note that before Go 1.5 this option took two separate arguments.
|
||||
Now it takes one argument split on the first = sign.
|
||||
To figure out the name to use, run `go tool nm PROGRAM`;
|
||||
usable variables will be tagged "D" or "d".
|
||||
-buildmode mode
|
||||
Set build mode (default exe).
|
||||
-cpuprofile file
|
||||
|
|
|
|||
Loading…
Reference in New Issue