• Rob Pike's avatar
    cmd/go: nicer error diagnosis in go test · c32a8830
    Rob Pike authored
    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
    c32a8830
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
addr2line Loading commit data...
api Loading commit data...
cc Loading commit data...
cgo Loading commit data...
dist Loading commit data...
fix Loading commit data...
gc Loading commit data...
go Loading commit data...
gofmt Loading commit data...
ld Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
prof Loading commit data...
yacc Loading commit data...