• 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
..
all Loading commit data...
internal Loading commit data...
testdata Loading commit data...
README Loading commit data...
asmdecl.go Loading commit data...
assign.go Loading commit data...
atomic.go Loading commit data...
bool.go Loading commit data...
buildtag.go Loading commit data...
cgo.go Loading commit data...
composite.go Loading commit data...
copylock.go Loading commit data...
dead.go Loading commit data...
deadcode.go Loading commit data...
doc.go Loading commit data...
httpresponse.go Loading commit data...
lostcancel.go Loading commit data...
main.go Loading commit data...
method.go Loading commit data...
nilfunc.go Loading commit data...
print.go Loading commit data...
rangeloop.go Loading commit data...
shadow.go Loading commit data...
shift.go Loading commit data...
structtag.go Loading commit data...
tests.go Loading commit data...
types.go Loading commit data...
unmarshal.go Loading commit data...
unsafeptr.go Loading commit data...
unused.go Loading commit data...
vet_test.go Loading commit data...