1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:44:45 -07:00
go/cmd
Rob Pike 6bd3206b1f go.tools/cmd/vet: allow checks to be disabled explicitly as well as set explicitly
Now we can say
        vet -printf=false
to disable the printf test but run all others.
Implemented by creating a tri-state boolean flag that records whether it has been
set explicitly; before this, -printf=false was not distinguishable from not having
mentioned the printf flag at all.

Fixes golang/go#7422.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/72330043
2014-03-07 16:02:49 +11:00
..
benchcmp go.tools/cmd/benchcmp: sort by original benchmark order by default 2014-02-19 07:44:49 -08:00
cover go.tools/cover: split parsing code out from cmd/cover 2013-12-03 20:55:21 -08:00
godoc go.tools/cmd/godoc: fix test on Plan 9 2014-03-02 19:34:05 +01:00
goimports cmd/goimports: update doc, remove old gofmt flags 2014-02-12 08:35:02 -08:00
gotype cmd/gotype: add -gccgo flag 2014-01-08 15:25:17 -08:00
html2article go.tools/cmd/html2article: move command from go.blog repository 2013-09-27 10:40:53 +10:00
oracle go.tools: rename packages. 2014-01-16 09:33:58 -05:00
ssadump go.tools/go/loader: simplify command-line syntax. 2014-02-11 16:52:16 -05:00
vet go.tools/cmd/vet: allow checks to be disabled explicitly as well as set explicitly 2014-03-07 16:02:49 +11:00