apparently go tool link uses stderr instead of stdout..
What version of Go are you using (go version)?
go1.9.2 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
linux / amd64
What did you do?
go tool link --help | grep -i debug
What did you expect to see?
-debugtramp int
debug trampolines
What did you see instead?
the whole list of link options
working example
go tool compile --help | grep -i debug
apparently go tool link uses stderr instead of stdout..
What version of Go are you using (
go version)?go1.9.2 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env)?linux / amd64
What did you do?
go tool link --help | grep -i debug
What did you expect to see?
-debugtramp int
debug trampolines
What did you see instead?
the whole list of link options
working example
go tool compile --help | grep -i debug