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: obsolete method referenced in the comment for FlagSet.output field #37514

Closed
perillo opened this issue Feb 27, 2020 · 1 comment
Closed

Comments

@perillo
Copy link
Contributor

perillo commented Feb 27, 2020

The output field of FieldSet is defined as

output        io.Writer // nil means stderr; use out() accessor

The comment is incorrect since the out method no longer exists; it has been replaced by Output in 99be9cc.

@gopherbot
Copy link

Change https://golang.org/cl/221383 mentions this issue: flag: update comment to refer to Output, not out

@golang golang locked and limited conversation to collaborators Feb 26, 2021
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