From: linmaolin Date: Thu, 2 Jan 2025 21:05:21 +0000 (+0000) Subject: cmd/go: fix two typos in helpdoc.go X-Git-Tag: go1.24rc2~6^2~27 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4b652e9f5f5c0793f2e41cd2876bce5a241b2c95;p=gostls13.git cmd/go: fix two typos in helpdoc.go Change-Id: Ib750438107db6c82020cfb4abbab52435012b7fc GitHub-Last-Rev: 3fa9b8c7bc70965c1ec9082b00c9b5a7af9751ef GitHub-Pull-Request: golang/go#71082 Reviewed-on: https://go-review.googlesource.com/c/go/+/639217 Auto-Submit: Ian Lance Taylor Reviewed-by: Michael Matloob LUCI-TryBot-Result: Go LUCI Reviewed-by: Sam Thanawalla --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 88f2e21f82..20d76de0c7 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -2181,7 +2181,7 @@ // fields of all events to reconstruct the text format output, as it would // have appeared from go build without the -json flag. // -// Note that there may also be non-JSON error text on stdnard error, even +// Note that there may also be non-JSON error text on standard error, even // with the -json flag. Typically, this indicates an early, serious error. // Consumers should be robust to this. // @@ -2616,7 +2616,7 @@ // Example: Data // // If the server responds with any 4xx code, the go command will write the -// following to the programs' stdin: +// following to the program's stdin: // Response = StatusLine { HeaderLine } BlankLine . // StatusLine = Protocol Space Status '\n' . // Protocol = /* HTTP protocol */ . diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go index 311584d4f0..65d0f1a45c 100644 --- a/src/cmd/go/internal/help/helpdoc.go +++ b/src/cmd/go/internal/help/helpdoc.go @@ -1034,7 +1034,7 @@ command Example: Data If the server responds with any 4xx code, the go command will write the - following to the programs' stdin: + following to the program's stdin: Response = StatusLine { HeaderLine } BlankLine . StatusLine = Protocol Space Status '\n' . Protocol = /* HTTP protocol */ . @@ -1102,7 +1102,7 @@ Furthermore, as with TestEvent, parsers can simply concatenate the Output fields of all events to reconstruct the text format output, as it would have appeared from go build without the -json flag. -Note that there may also be non-JSON error text on stdnard error, even +Note that there may also be non-JSON error text on standard error, even with the -json flag. Typically, this indicates an early, serious error. Consumers should be robust to this. `,