• Alan Donovan's avatar
    cmd/go: make go vet query cmd/vet for its flags · 398b54df
    Alan Donovan authored
    Add -flags flag to cmd/vet that causes it to describe its flags as JSON.
    
    go vet's "-vettool" flag has been replaced with an environment
    variable, GOVETTOOL, for two reasons:
    
      1) we need its value before flag processing,
         because we must run vet to discover its flags.
    
      2) users may change the env var to opt in/out of the new vet tool
         during the upcoming transition to vet based on the analysis API.
    
    Change-Id: I5d8f90817623022f4170b88fab3c92c9b2fbdc37
    Reviewed-on: https://go-review.googlesource.com/c/142617
    Run-TryBot: Alan Donovan <adonovan@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBryan C. Mills <bcmills@google.com>
    398b54df
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...