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
'go help test' and 'go test -h' present different docs.
Other go commands don't seem to exhibit such difference.
Is it intentional? If so, we need to make them mention each other.
The output of 'go test -h' is what 'go help testflag' outputs btw.
The text was updated successfully, but these errors were encountered:
I think it's working as intended.
go help test is an higher level overview of the testing mechanism, and go test -h is
actually `go help testflag`
which gives you an overview of the flags that could be passed.
And note that "go help test" also mentions "go help testflag", but not "go test -h" (we
probably can add the
2nd shortcut)
mikioh
changed the title
cmd/go/test: inconsistency between 'go help test' and 'go test -h'
cmd/go: inconsistency between 'go help test' and 'go test -h'
Jan 4, 2015
I think the fix for #6576 in CL 14502065 was a mistake. The output for go test -h before that CL was incomplete in one way before the CL and now it is incomplete in a different way.
Probably the right thing to do for go test -h is to print both the help for test and for testflag.
The text was updated successfully, but these errors were encountered: