Commit 7c6db642 authored by Russ Cox's avatar Russ Cox

cmd/go: implement -x correctly for 'go vet', 'go fmt', and so on

Fixes #5676.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13250047
parent c971f95c
......@@ -360,7 +360,7 @@ func exitIfErrors() {
func run(cmdargs ...interface{}) {
cmdline := stringList(cmdargs...)
if buildN || buildV {
if buildN || buildX {
fmt.Printf("%s\n", strings.Join(cmdline, " "))
if buildN {
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment