]> Cypherpunks repositories - gostls13.git/commitdiff
flag: remove unused FlagSet.exitOnError field
authorChaiShushan <chaishushan@gmail.com>
Wed, 18 Dec 2013 04:18:12 +0000 (23:18 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 18 Dec 2013 04:18:12 +0000 (23:18 -0500)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/14279043

src/pkg/flag/flag.go

index e7c863ee92d2d3ba9590a4b377fb61d5e8b61f43..d3b454fefd4e814e185364842f38cfa6c395a997 100644 (file)
@@ -269,7 +269,6 @@ type FlagSet struct {
        actual        map[string]*Flag
        formal        map[string]*Flag
        args          []string // arguments after flags
-       exitOnError   bool     // does the program exit if there's an error?
        errorHandling ErrorHandling
        output        io.Writer // nil means stderr; use out() accessor
 }