diff options
| -rw-r--r-- | src/cmd/go/alldocs.go | 4 | ||||
| -rw-r--r-- | src/cmd/go/internal/workcmd/edit.go | 4 |
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 |
