tools/cmd
Rob Pike 95c9b7bad1 go.tools/cmd/vet: replace warnings by errors
Over time, a number of modules were added that used Warn instead of Bad
to report problems with the code, but the documentation states that
if there is a problem, the exit code must be 1, not 0. Warn does not set the
exit code and should be used only for internal errors and messages
triggered by the -v flag.

There's nothing substantive here except calling the other function in a few
places.

Fixes golang/go#7017.

LGTM=crawshaw
R=golang-codereviews, crawshaw
CC=golang-codereviews
https://golang.org/cl/71860044
2014-03-07 15:31:28 +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: replace warnings by errors 2014-03-07 15:31:28 +11:00