mirror of
https://github.com/golang/go
synced 2024-11-19 23:14:47 -07:00
flag: document that Bool also accepts "T" and "F"
Fixes #7752. LGTM=bradfitz, ruiu R=golang-codereviews, bradfitz, ruiu CC=golang-codereviews https://golang.org/cl/88690043
This commit is contained in:
parent
fb91559fbd
commit
1f40b841b3
@ -50,7 +50,8 @@
|
||||
("-" is a non-flag argument) or after the terminator "--".
|
||||
|
||||
Integer flags accept 1234, 0664, 0x1234 and may be negative.
|
||||
Boolean flags may be 1, 0, t, f, true, false, TRUE, FALSE, True, False.
|
||||
Boolean flags may be:
|
||||
1, 0, t, f, T, F, true, false, TRUE, FALSE, True, False
|
||||
Duration flags accept any input valid for time.ParseDuration.
|
||||
|
||||
The default set of command-line flags is controlled by
|
||||
|
Loading…
Reference in New Issue
Block a user