1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:14:56 -07:00
go/cmd
Rob Pike 31c219bef7 go.tools/cmd/vet: change reporting of incorrect error count in Printf
The old code was misleading in saying how many args were present.
Change the wording of the message to be unambiguous and change
the presentation of the format to include the full directive, making
it easier to correlate with the input (and fixing a silent bug).
Fixes golang/go#6248.

LGTM=dsymonds
R=golang-codereviews, dsymonds
CC=golang-codereviews
https://golang.org/cl/69120044
2014-03-04 15:41: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: change reporting of incorrect error count in Printf 2014-03-04 15:41:49 +11:00