From: Dominik Honnef Date: Sat, 18 May 2013 11:22:30 +0000 (+0800) Subject: cmd/go: Update documentation of go run to match current behaviour. X-Git-Tag: go1.2rc2~1482 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=70f3b6097bb3c083f39c313fba3889d4e39ef680;p=gostls13.git cmd/go: Update documentation of go run to match current behaviour. Fixes #5511. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/9530043 --- diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index df82ab45b0..ddf7263abb 100644 --- a/src/cmd/go/doc.go +++ b/src/cmd/go/doc.go @@ -370,7 +370,6 @@ Usage: go run [build flags] gofiles... [arguments...] Run compiles and runs the main package comprising the named Go source files. -If no files are named, it compiles and runs all non-test Go source files. For more about build flags, see 'go help build'. diff --git a/src/cmd/go/run.go b/src/cmd/go/run.go index 91bdc1be2a..b505693635 100644 --- a/src/cmd/go/run.go +++ b/src/cmd/go/run.go @@ -16,7 +16,6 @@ var cmdRun = &Command{ Short: "compile and run Go program", Long: ` Run compiles and runs the main package comprising the named Go source files. -If no files are named, it compiles and runs all non-test Go source files. For more about build flags, see 'go help build'.