• Alan Donovan's avatar
    cmd/go: improve go vet documentation · 42b46585
    Alan Donovan authored
    - restore and rework cmd/vet/doc.go, which was clobbered during the vet-lite switch.
    - document go vet -vettool=prog flag and how to run an alternative checker.
    - make 'go vet -help' show how to list vet tool's flags.  Example:
    
    	$ go vet -help
    	usage: go vet [-n] [-x] [-vettool prog] [build flags] [vet flags] [packages]
    	Run 'go help vet' for details.
    	Run 'go tool vet help' for the vet tool's flags.
    
    	$ go vet -vettool=~/bin/myvet -help
    	usage: go vet [-n] [-x] [-vettool prog] [build flags] [vet flags] [packages]
    	Run 'go help vet' for details.
    	Run '~/bin/myvet help' for the vet tool's flags.
    
    Updates #28840
    
    Change-Id: Ieb79dfe29e1df074f865bc9a9d47b44199675d7d
    Reviewed-on: https://go-review.googlesource.com/c/147018Reviewed-by: 's avatarDaniel Martí <mvdan@mvdan.cc>
    Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    42b46585
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...