aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorMatt T. Proud <mtp@google.com>2024-10-03 07:57:46 +0000
committerGopher Robot <gobot@golang.org>2024-10-28 17:49:32 +0000
commit201b9f6d6b46e0ae311e8a8b2cbe2ad6652f5680 (patch)
tree830ceedb40a84fca78090ca74840505316c03b73 /src/encoding
parentb33fc480a25c30d38104a9efaf73326c888e8557 (diff)
downloadgo-201b9f6d6b46e0ae311e8a8b2cbe2ad6652f5680.tar.xz
cmd/go: clarify that -coverpkg uses import paths
This change amends the long-form help output for 'go help build' and 'go help testflag' to specify that the '-coverpkg' flag operates explicitly on import paths as well as package names. Import paths are fundamental for precise specification of packages versus unqualified package names, and the naming of the flag '-coverpkg' and its original documentation leads a user to assume that it only operates on the simple, unqualified package name form. The situation warrants clarification. Fixes #69653 Change-Id: Ifde6a974405ce1614e28898fc2b92ed5bad94e57 GitHub-Last-Rev: 466c662a70d13560f2fb7affb0d7d900889c7aa7 GitHub-Pull-Request: golang/go#69655 Reviewed-on: https://go-review.googlesource.com/c/go/+/616257 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions