diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-02-27 11:11:48 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-02-27 23:20:01 +0000 |
commit | 117826903a526c4d31c628f1a302c1d4799c1666 (patch) | |
tree | cbdca1974ff058d75f6c420fb5ab587c6e11e0ed /src/flag | |
parent | 7340e5a1e86311302c6fcc3a86afe7ff9cbf5e49 (diff) | |
download | go-117826903a526c4d31c628f1a302c1d4799c1666.tar.gz go-117826903a526c4d31c628f1a302c1d4799c1666.zip |
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>
Diffstat (limited to 'src/flag')
-rw-r--r-- | src/flag/flag.go | 2 |
1 files changed, 1 insertions, 1 deletions
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. |