]> Cypherpunks repositories - gostls13.git/commit
cmd/go: improve module version query documentation
authorJay Conrod <jayconrod@google.com>
Fri, 12 Jul 2019 15:31:29 +0000 (11:31 -0400)
committerJay Conrod <jayconrod@google.com>
Fri, 12 Jul 2019 21:19:51 +0000 (21:19 +0000)
commit21f548400650e4e7047202ee1894ee6ddd44de82
treedd879897f0d8236b0a2b3191aede1d0b696e208b
parente831719469a5acfad7d8f73a976e2959815d0e27
cmd/go: improve module version query documentation

Add "upgrade" and "patch" to 'go help modules' section 'Module queries'.
Also explicitly call out the fact that @v2 will select the latest
version starting with v2, not the branch named v2, since this is a
common source of confusion.

Fixes #33010

Change-Id: I2fe27543b81a160fb6f6b8e8444a7a35f3661433
Reviewed-on: https://go-review.googlesource.com/c/go/+/185979
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/modget/get.go
src/cmd/go/internal/modload/help.go