]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: rename (historic) flag "-list" used for go/types testing
authorRobert Griesemer <gri@golang.org>
Sat, 16 Dec 2017 01:06:43 +0000 (17:06 -0800)
committerRobert Griesemer <gri@golang.org>
Sat, 16 Dec 2017 23:30:58 +0000 (23:30 +0000)
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>
src/go/types/check_test.go

index 97e224f870fb4c102587a514b7714a80623d1a87..e3ca90a6bdcc43292435ecd65dafeb8c860ae747 100644 (file)
@@ -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")
 )