• Russ Cox's avatar
    cmd/go: add -args to 'go test' to resolve -v ambiguity · 8350e065
    Russ Cox authored
    The new flag -args stops flag processing, leaving the rest of the command line
    to be passed to the underlying test binary verbatim. Thus, both of these pass
    a literal -v -n on the test binary command line, without putting the go command
    into verbose mode or disabling execution of commands:
    
    	go test . -args -v -n
    	go test -args -v -n
    
    Also try to make the documentation a bit clearer.
    
    Fixes #7221.
    Fixes #12177.
    
    Change-Id: Ief9e830a6fbb9475d96011716a86e2524a35eceb
    Reviewed-on: https://go-review.googlesource.com/17775Reviewed-by: 's avatarRob Pike <r@golang.org>
    8350e065
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm 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...
newlink Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...
yacc Loading commit data...