diff options
author | 180909 <734461790@qq.com> | 2021-08-16 06:07:39 +0000 |
---|---|---|
committer | Jay Conrod <jayconrod@google.com> | 2021-08-16 20:22:08 +0000 |
commit | 446614182202a57b84c2742c8992c552e5fc7d3b (patch) | |
tree | ae479878eb7f4a737f0fd9d76c5dfba77a8f89c8 /src/cmd/go/alldocs.go | |
parent | 8d2066177dda53372469040e9bd18f836f121c58 (diff) | |
download | go-446614182202a57b84c2742c8992c552e5fc7d3b.tar.gz go-446614182202a57b84c2742c8992c552e5fc7d3b.zip |
cmd/go: add document -json in testflag
Fixes #47628
Change-Id: I2776fbc22d8a73ca7adc2cf7ad85669d57cc7eae
GitHub-Last-Rev: 826907b0797cdc25f921117e2ee44fc0dc2d21c3
GitHub-Pull-Request: golang/go#47683
Reviewed-on: https://go-review.googlesource.com/c/go/+/341991
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r-- | src/cmd/go/alldocs.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 7f88d3216c..f919699627 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -2658,6 +2658,10 @@ // -failfast // Do not start new tests after the first test failure. // +// -json +// Log verbose output and test results in JSON. This presents the +// same information as the -v flag in a machine-readable format. +// // -list regexp // List tests, benchmarks, or examples matching the regular expression. // No tests, benchmarks or examples will be run. This will only |