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: boolean flag accepts T and F #7752

Closed
rui314 opened this issue Apr 10, 2014 · 3 comments
Closed

flag: boolean flag accepts T and F #7752

rui314 opened this issue Apr 10, 2014 · 3 comments
Milestone

Comments

@rui314
Copy link
Member

rui314 commented Apr 10, 2014

The documentation of the package says "Boolean flags may be 1, 0, t, f, true,
false, TRUE, FALSE, True, False." It actually accepts T and F in addition to that.
It looks to me that it's an error in the document.
@ianlancetaylor
Copy link
Contributor

Comment 1:

Labels changed: added repo-main, release-go1.3maybe.

Owner changed to @robpike.

Status changed to Accepted.

@gopherbot
Copy link

Comment 2:

CL https://golang.org/cl/88690043 mentions this issue.

@robpike
Copy link
Contributor

robpike commented Apr 17, 2014

Comment 3:

This issue was closed by revision 1f40b84.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc unassigned robpike Jun 23, 2022
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

5 participants