You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. go get code.google.com/p/go.tools/cmd/vet
2. go vet -n
3. go vet -x
4. go vet
What is the expected output?
-n should print instead of running the command. -x should print the command as well as
running it.
What do you see instead?
all three invocations of go vet are identical.
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
debian 7 x86_64
Which version are you using? (run 'go version')
go version devel +c12672b17884 Tue Jun 11 04:58:02 2013 +0800 linux/amd64
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
It's nothing to do with vet; the same property applies to "go doc".
Plus the issue isn't accurate, at least as I experience it: -n works as advertised, but
-x does not.
Short form: The -x flag does not cause go vet etc. to print the command it runs.
by ben.lubar:
The text was updated successfully, but these errors were encountered: