Skip to content

Commit

Permalink
cmd/go: don't mention -mod=release
Browse files Browse the repository at this point in the history
The -mod=release flag is not supported, so this appears to be a
documentation mistake.

Fixes #27354.
  • Loading branch information
mark-rushakoff committed Aug 30, 2018
1 parent f9a4ae0 commit 42bfe0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmd/go/alldocs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/cmd/go/internal/work/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 42bfe0c

Please sign in to comment.