]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix two typos in helpdoc.go
authorlinmaolin <linlin152@foxmail.com>
Thu, 2 Jan 2025 21:05:21 +0000 (21:05 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 3 Jan 2025 00:10:54 +0000 (16:10 -0800)
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 <iant@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go

index 88f2e21f822d1a45195a402f7bbe2e10ac8f7eee..20d76de0c742e1300e5c647a226d784d4525f34d 100644 (file)
 // 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.
 //
 //             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 */ .
index 311584d4f0f1f3aa1ce695e4010f166c3a69eff3..65d0f1a45c0c17ef32b3ccd62a1f97d4ec39136d 100644 (file)
@@ -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.
        `,