diff options
| author | Rob Pike <r@golang.org> | 2013-08-14 07:03:18 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2013-08-14 07:03:18 +1000 |
| commit | c32a8830bd5d8bc203d21d0b921790737d767f4a (patch) | |
| tree | c6ccbc640340f8c5880c7251e01b4394c20e9024 /src/pkg/database | |
| parent | 992374f8fb665d4b389019400178189b1b671547 (diff) | |
| download | go-c32a8830bd5d8bc203d21d0b921790737d767f4a.tar.xz | |
cmd/go: nicer error diagnosis in go test
Before,
go test -bench .
would just dump the long generic "go help" message. Confusing and
unhelpful. Now the message is short and on point and also reminds the
user about the oft-forgotten "go help testflag".
% go test -bench
go test: missing argument for flag bench
run "go help test" or "go help testflag" for more information
%
R=rsc
CC=golang-dev
https://golang.org/cl/12662046
Diffstat (limited to 'src/pkg/database')
0 files changed, 0 insertions, 0 deletions
