mirror of
https://github.com/golang/go
synced 2024-11-23 20:20:01 -07:00
flag: update comment to refer to Output, not out
The out method was renamed to Output in CL 70391 for #17628 and #21888. Fixes #37514 Change-Id: I99be47b5030ccbbf10a056df9fcc3c97cb99b015 Reviewed-on: https://go-review.googlesource.com/c/go/+/221383 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
7340e5a1e8
commit
117826903a
@ -331,7 +331,7 @@ type FlagSet struct {
|
||||
formal map[string]*Flag
|
||||
args []string // arguments after flags
|
||||
errorHandling ErrorHandling
|
||||
output io.Writer // nil means stderr; use out() accessor
|
||||
output io.Writer // nil means stderr; use Output() accessor
|
||||
}
|
||||
|
||||
// A Flag represents the state of a flag.
|
||||
|
Loading…
Reference in New Issue
Block a user