]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: don't mention -mod=release
authorMark Rushakoff <mark@influxdata.com>
Thu, 30 Aug 2018 02:15:39 +0000 (02:15 +0000)
committerBryan C. Mills <bcmills@google.com>
Tue, 18 Sep 2018 13:46:03 +0000 (13:46 +0000)
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>
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go

index 969d51f5ab581e67fb0d97f2521d0a407bb0761e..9528ca29844ba30df928628ea26cbb0ed8423baa 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.