diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2018-10-25 13:42:46 +0100 |
|---|---|---|
| committer | Daniel Martí <mvdan@mvdan.cc> | 2018-11-06 20:28:48 +0000 |
| commit | ca33f33b1420cf333c59c6458bb9bc8910c91ecb (patch) | |
| tree | 1a287946c0b90a8033bb0d3aa35515c5a4287598 /src/cmd/vendor/github.com/google/pprof/profile/testdata | |
| parent | 9c772522ea365be6a916d428a981969befedad7f (diff) | |
| download | go-ca33f33b1420cf333c59c6458bb9bc8910c91ecb.tar.xz | |
cmd/go: make 'go test -h' print two lines
Like every other command's -h flag. To achieve this, pass the command's
usage function to the cmdflag package, since that package is used by
multiple commands and cannot directly access *base.Command.
This also lets us get rid of testFlag1 and testFlag2, and instead have
contiguous raw strings for the test and testflag help docs.
Fixes #26999.
Change-Id: I2ebd66835ee61fa83270816a01fa312425224bb3
Reviewed-on: https://go-review.googlesource.com/c/144558
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/profile/testdata')
0 files changed, 0 insertions, 0 deletions
