]> Cypherpunks repositories - gostls13.git/commit
cmd/go: accept build flags in clean and list
authorRuss Cox <rsc@golang.org>
Fri, 9 May 2014 20:32:38 +0000 (16:32 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 9 May 2014 20:32:38 +0000 (16:32 -0400)
commit0f52fdbf7ba599702643660b46ce94f4925856b0
tree01c97a38b12c59256cac222b52e73bf1a86a8c42
parent2182d5786b728bc2371b40f689ca73ee9df0cd88
cmd/go: accept build flags in clean and list

list has been adding them one at a time haphazardly
(race and tags were there and documented; compiler
was there and undocumented).

clean -i needs -compiler in order to clean the
installed targets for alternate compilers.

Fixes #7302.

While we're here, tweak the language in the 'go get' docs
about build flags.

Fixes #7807.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/99130043
src/cmd/go/build.go
src/cmd/go/clean.go
src/cmd/go/doc.go
src/cmd/go/get.go
src/cmd/go/list.go