Skip to content
Permalink
Browse files

cmd/go: don't mention -mod=release

The -mod=release flag is not supported, so this appears to be a
documentation mistake.

Fixes golang#27354.
  • Loading branch information...
mark-rushakoff committed Aug 30, 2018
1 parent f9a4ae0 commit 42bfe0c11e38c90e76887771654ea81af98d50ec
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/cmd/go/alldocs.go
  2. +1 −1 src/cmd/go/internal/work/build.go
@@ -144,7 +144,7 @@
// 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.
@@ -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.

0 comments on commit 42bfe0c

Please sign in to comment.
You can’t perform that action at this time.