Skip to content

Commit 42bfe0c

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 #27354.
1 parent f9a4ae0 commit 42bfe0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cmd/go/alldocs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/work/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ and test commands:
9999
link against shared libraries previously created with
100100
-buildmode=shared.
101101
-mod mode
102-
module download mode to use: readonly, release, or vendor.
102+
module download mode to use: readonly or vendor.
103103
See 'go help modules' for more.
104104
-pkgdir dir
105105
install and load all packages from dir instead of the usual locations.

0 commit comments

Comments
 (0)