]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix minor grammatical nit: command-line is an adjective...
authorRob Pike <r@golang.org>
Wed, 20 Mar 2019 00:32:59 +0000 (11:32 +1100)
committerRob Pike <r@golang.org>
Wed, 20 Mar 2019 02:20:52 +0000 (02:20 +0000)
while command line is a noun.

Change-Id: I9dfc2f6841d1171854857a8daa785d55afe2c5f3
Reviewed-on: https://go-review.googlesource.com/c/go/+/167783
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/go/alldocs.go
src/cmd/go/go_test.go
src/cmd/go/internal/help/helpdoc.go

index 141f13c63e5b0b96250c675afbb31189ab2220b6..5b62ed939c8364cdf73bb43bc0d976ce3ec2a995 100644 (file)
 //     GOFLAGS
 //             A space-separated list of -flag=value settings to apply
 //             to go commands by default, when the given flag is known by
-//             the current command. Flags listed on the command-line
+//             the current command. Flags listed on the command line
 //             are applied after this list and therefore override it.
 //     GOOS
 //             The operating system for which to compile code.
index faf953ddebd71b23a5e921c37dea036234fea858..240ba594f5821e7e6479a5f5440e800f454b767d 100644 (file)
@@ -5970,7 +5970,7 @@ func TestBadCgoDirectives(t *testing.T) {
        if runtime.Compiler == "gc" {
                tg.runFail("build", tg.path("src/x/_cgo_yy.go")) // ... but if forced, the comment is rejected
                // Actually, today there is a separate issue that _ files named
-               // on the command-line are ignored. Once that is fixed,
+               // on the command line are ignored. Once that is fixed,
                // we want to see the cgo_ldflag error.
                tg.grepStderr("//go:cgo_ldflag only allowed in cgo-generated code|no Go files", "did not reject //go:cgo_ldflag directive")
        }
index a989483e603fa2fdedf201bf1e15cdbaeea8e74e..d931c9225bf3710d8b28e224b4cda5271ddf9ae8 100644 (file)
@@ -489,7 +489,7 @@ General-purpose environment variables:
        GOFLAGS
                A space-separated list of -flag=value settings to apply
                to go commands by default, when the given flag is known by
-               the current command. Flags listed on the command-line
+               the current command. Flags listed on the command line
                are applied after this list and therefore override it.
        GOOS
                The operating system for which to compile code.