Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag: os.Stderr still used in flag #5916

Closed
gopherbot opened this issue Jul 18, 2013 · 1 comment
Closed

flag: os.Stderr still used in flag #5916

gopherbot opened this issue Jul 18, 2013 · 1 comment

Comments

@gopherbot
Copy link

by victorvieux:

Which version are you using?  (run 'go version')
1.1.1

The issue https://golang.org/issue/2747, should have replace stderr
everywhere with f.out()

But here https://code.google.com/p/go/source/browse/src/pkg/flag/flag.go#405 there is
still os.Stderr, I know Usage can be changed to a custom function, but I think the
default could use f.out()
@robpike
Copy link
Contributor

robpike commented Jul 18, 2013

Comment 1:

Working as intended.
This is an error message delivered at startup for the user. It is not a priori related
to the file to which log messages are being written.
In any case, there is no 'f' here to use.

Status changed to WorkingAsIntended.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants