Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: first test binary flag description not indented for go test -h #12642

Closed
tormoder opened this issue Sep 16, 2015 · 1 comment
Closed

Comments

@tormoder
Copy link
Contributor

When running go test -h, the first flag usage description in the list of
test binary flags is not indented:

/.../

The test binary also accepts flags that control execution of the test; these
flags are also accessible by 'go test'.

-bench regexp
            Run benchmarks matching the regular expression.
            By default, no benchmarks run. To run all benchmarks,
            use '-bench .' or '-bench=.'.

        -benchmem
            Print memory allocation statistics for benchmarks.

/.../

The usage description is indented when running go help testflag.

go version devel +7c61d24 Wed Sep 16 00:25:04 2015 +0000 linux/amd64

@gopherbot
Copy link

CL https://golang.org/cl/14612 mentions this issue.

@golang golang locked and limited conversation to collaborators Sep 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants