aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorSean Liao <sean@liao.dev>2026-04-04 00:55:05 +0100
committerMichael Matloob <matloob@golang.org>2026-04-06 10:04:07 -0700
commit9956aca06ab9d3083fa0afaebb640a1a25dde77f (patch)
treef5c11c7ad059dd43b8f1769cb7eb6f461ab105ef /src/cmd
parentba402cd756a02cd80bcd76a2f7afc22ae2041c6c (diff)
downloadgo-9956aca06ab9d3083fa0afaebb640a1a25dde77f.tar.xz
cmd/go/internal/workcmd: correct go.work file name
Fixes #51714 Change-Id: I0619b1ca6715bed85ccc066a83a449f66a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/762660 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/go/alldocs.go4
-rw-r--r--src/cmd/go/internal/workcmd/edit.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index 1b74292327..8ded045369 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -1634,10 +1634,10 @@
// The -toolchain=name flag sets the Go toolchain to use.
//
// The -print flag prints the final go.work in its text format instead of
-// writing it back to go.mod.
+// writing it back to go.work.
//
// The -json flag prints the final go.work file in JSON format instead of
-// writing it back to go.mod. The JSON output corresponds to these Go types:
+// writing it back to go.work. The JSON output corresponds to these Go types:
//
// type GoWork struct {
// Go string
diff --git a/src/cmd/go/internal/workcmd/edit.go b/src/cmd/go/internal/workcmd/edit.go
index 9b62dbb15f..2ccd1adf51 100644
--- a/src/cmd/go/internal/workcmd/edit.go
+++ b/src/cmd/go/internal/workcmd/edit.go
@@ -67,10 +67,10 @@ The -go=version flag sets the expected Go language version.
The -toolchain=name flag sets the Go toolchain to use.
The -print flag prints the final go.work in its text format instead of
-writing it back to go.mod.
+writing it back to go.work.
The -json flag prints the final go.work file in JSON format instead of
-writing it back to go.mod. The JSON output corresponds to these Go types:
+writing it back to go.work. The JSON output corresponds to these Go types:
type GoWork struct {
Go string