From: Ian Lance Taylor Date: Thu, 27 Feb 2020 19:11:48 +0000 (-0800) Subject: flag: update comment to refer to Output, not out X-Git-Tag: go1.15beta1~1009 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=117826903a526c4d31c628f1a302c1d4799c1666;p=gostls13.git 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 TryBot-Result: Gobot Gobot Reviewed-by: Rob Pike --- diff --git a/src/flag/flag.go b/src/flag/flag.go index 6a51617524..abf20b6240 100644 --- a/src/flag/flag.go +++ b/src/flag/flag.go @@ -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.