]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: follow convention for generated code comment
authorTobias Klauser <tklauser@distanz.ch>
Thu, 14 Jun 2018 07:06:01 +0000 (09:06 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 14 Jun 2018 15:12:11 +0000 (15:12 +0000)
Follow the convertion (https://golang.org/s/generatedcode) for generated
code in alldocs.go

Change-Id: I03985de20363ba8e09a5a624a931090ec8d196e6
Reviewed-on: https://go-review.googlesource.com/118816
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/help/help.go

index ffc6505c1dbc8339c3d22f97775092dca13d36ec..e7fbca25411a12460752af164da4e2f7e99e4b9f 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// DO NOT EDIT THIS FILE. GENERATED BY mkalldocs.sh.
+// Code generated by mkalldocs.sh; DO NOT EDIT.
 // Edit the documentation in other files and rerun mkalldocs.sh to generate this one.
 
 // Go is a tool for managing Go source code.
index b4c5217f83688db6cb62d4f5c9b8f69cded50cb6..c79bf8bebba262fab7c771296456774d7c8f60f0 100644 (file)
@@ -39,7 +39,7 @@ func Help(args []string) {
                fmt.Println("// Use of this source code is governed by a BSD-style")
                fmt.Println("// license that can be found in the LICENSE file.")
                fmt.Println()
-               fmt.Println("// DO NOT EDIT THIS FILE. GENERATED BY mkalldocs.sh.")
+               fmt.Println("// Code generated by mkalldocs.sh; DO NOT EDIT.")
                fmt.Println("// Edit the documentation in other files and rerun mkalldocs.sh to generate this one.")
                fmt.Println()
                buf := new(bytes.Buffer)