aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/work/build.go
diff options
context:
space:
mode:
authorMark Rushakoff <mark@influxdata.com>2018-08-30 02:15:39 +0000
committerBryan C. Mills <bcmills@google.com>2018-09-18 13:46:03 +0000
commit014901c5bab2f99af3b1019d5776fa5da6f5bef7 (patch)
tree0954f3f5673ab75790796d42b1249666b356c921 /src/cmd/go/internal/work/build.go
parentd45f24c084ee7f70797ad645f922ea820db28776 (diff)
downloadgo-014901c5bab2f99af3b1019d5776fa5da6f5bef7.tar.gz
go-014901c5bab2f99af3b1019d5776fa5da6f5bef7.zip
cmd/go: don't mention -mod=release
The -mod=release flag is not supported, so this appears to be a documentation mistake. Fixes #27354. Change-Id: I895e8d5b4918adcb1f605361773173f312fa7b65 GitHub-Last-Rev: 42bfe0c11e38c90e76887771654ea81af98d50ec GitHub-Pull-Request: golang/go#27358 Reviewed-on: https://go-review.googlesource.com/132116 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/go/internal/work/build.go')
-rw-r--r--src/cmd/go/internal/work/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/work/build.go b/src/cmd/go/internal/work/build.go
index ed41ce5d07..dd482b677d 100644
--- a/src/cmd/go/internal/work/build.go
+++ b/src/cmd/go/internal/work/build.go
@@ -99,7 +99,7 @@ and test commands:
link against shared libraries previously created with
-buildmode=shared.
-mod mode
- module download mode to use: readonly, release, or vendor.
+ module download mode to use: readonly or vendor.
See 'go help modules' for more.
-pkgdir dir
install and load all packages from dir instead of the usual locations.