]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: Update documentation of go run to match current behaviour.
authorDominik Honnef <dominik.honnef@gmail.com>
Sat, 18 May 2013 11:22:30 +0000 (19:22 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sat, 18 May 2013 11:22:30 +0000 (19:22 +0800)
Fixes #5511.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/9530043

src/cmd/go/doc.go
src/cmd/go/run.go

index df82ab45b0d71aa47cb879dbec2e442371cbeb5d..ddf7263abb41d748c30bbbf8f3cd86260157a941 100644 (file)
@@ -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'.
 
index 91bdc1be2a487a86fa8829cb20ca7939e4628399..b50569363522cc9148bf542563f584e120785848 100644 (file)
@@ -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'.