From 90559ab9f2a6efaf03b428c0c4b5360d6a10462b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 14 Jun 2018 09:06:01 +0200 Subject: [PATCH] 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 --- src/cmd/go/alldocs.go | 2 +- src/cmd/go/internal/help/help.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.50.0