diff options
| author | Robert Griesemer <gri@golang.org> | 2017-12-15 17:06:43 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2017-12-16 23:30:58 +0000 |
| commit | 2de98eb8de2e97ec6a187c383435025a660f2502 (patch) | |
| tree | 3a351dcc6f857046565dcb93eb0e14a7b88e73d1 /src | |
| parent | 98443ecd0a8e7a71bd632f77e8d1a9e19e7ef475 (diff) | |
| download | go-2de98eb8de2e97ec6a187c383435025a660f2502.tar.xz | |
go/types: rename (historic) flag "-list" used for go/types testing
Rename -list flag to -errlist to avoid confusion with the go
test flag -list (introduced later).
This flag is only needed to get an error list when running the
go/types test harness manually on select files, e.g., as in:
go test -run=Check -files=x.go -errlist
Change-Id: I67febcf968d2d8f4ff00c81eea7b2df723560eac
Reviewed-on: https://go-review.googlesource.com/84378
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/go/types/check_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/check_test.go b/src/go/types/check_test.go index 97e224f870..e3ca90a6bd 100644 --- a/src/go/types/check_test.go +++ b/src/go/types/check_test.go @@ -42,7 +42,7 @@ import ( ) var ( - listErrors = flag.Bool("list", false, "list errors") + listErrors = flag.Bool("errlist", false, "list errors") testFiles = flag.String("files", "", "space-separated list of test files") ) |
