Skip to content

cmd/compile: usage prints to stdout instead of stderr #23234

@jfcg

Description

@jfcg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions