]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.11] cmd/go: don't mention -mod=release
authorMark Rushakoff <mark@influxdata.com>
Thu, 30 Aug 2018 02:15:39 +0000 (02:15 +0000)
committerIan Lance Taylor <iant@golang.org>
Thu, 4 Oct 2018 17:41:23 +0000 (17:41 +0000)
The -mod=release flag is not supported, so this appears to be a
documentation mistake.

Updates #27354.
Fixes #27398.

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>
(cherry picked from commit 014901c5bab2f99af3b1019d5776fa5da6f5bef7)
Reviewed-on: https://go-review.googlesource.com/c/139421
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go

index 1060e779c1b6e7d6978c37b1cfc74e836511de9d..ab8429f0de8325637bc70d59a60ebf3bd42f1dee 100644 (file)
 //             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.
index ed41ce5d0730ab1ada89510acdc77a90c7e8eedb..dd482b677d5749630c9388eebe4e512759c275e7 100644 (file)
@@ -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.