From 70f3b6097bb3c083f39c313fba3889d4e39ef680 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 18 May 2013 19:22:30 +0800 Subject: [PATCH] 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 --- src/cmd/go/doc.go | 1 - src/cmd/go/run.go | 1 - 2 files changed, 2 deletions(-) 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'. -- 2.48.1