From: Tobias Klauser Date: Thu, 14 Jun 2018 07:06:01 +0000 (+0200) Subject: cmd/go: follow convention for generated code comment X-Git-Tag: go1.11beta1~94 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=90559ab9f2a6efaf03b428c0c4b5360d6a10462b;p=gostls13.git cmd/go: follow convention for generated code comment 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 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ffc6505c1d..e7fbca2541 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -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. diff --git a/src/cmd/go/internal/help/help.go b/src/cmd/go/internal/help/help.go index b4c5217f83..c79bf8bebb 100644 --- a/src/cmd/go/internal/help/help.go +++ b/src/cmd/go/internal/help/help.go @@ -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)