aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/modget/get.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2020-11-06 15:15:44 -0500
committerBryan C. Mills <bcmills@google.com>2020-11-09 14:17:30 +0000
commitf858c221270addffaceb668196caf7fd8ceb0019 (patch)
tree4ffe22628416783f22bb9c5d0e77ecd7612e6439 /src/cmd/go/internal/modget/get.go
parent22312437ee1e72451c70b79c90e36ad0b849e3f6 (diff)
downloadgo-f858c221270addffaceb668196caf7fd8ceb0019.tar.gz
go-f858c221270addffaceb668196caf7fd8ceb0019.zip
cmd/go/internal/modget: fix a typo introduced in CL 263267
Updates #37438 Change-Id: I78f377afd73dad75aed219836725a27fbaa5b69c Reviewed-on: https://go-review.googlesource.com/c/go/+/268117 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Dan Peterson <dpiddy@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/go/internal/modget/get.go')
-rw-r--r--src/cmd/go/internal/modget/get.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/internal/modget/get.go b/src/cmd/go/internal/modget/get.go
index bb59191c73..f759888436 100644
--- a/src/cmd/go/internal/modget/get.go
+++ b/src/cmd/go/internal/modget/get.go
@@ -89,8 +89,8 @@ downgrades the dependency. The version suffix @none indicates that the
dependency should be removed entirely, downgrading or removing modules
depending on it as needed.
-The version suffix @latest explicitly requests the latest minor release ofthe
-module named by the given path. The suffix @upgrade is like @latest but
+The version suffix @latest explicitly requests the latest minor release of
+the module named by the given path. The suffix @upgrade is like @latest but
will not downgrade a module if it is already required at a revision or
pre-release version newer than the latest released version. The suffix
@patch requests the latest patch release: the latest released version