summaryrefslogtreecommitdiff
path: root/src/cmd/go/run.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2013-06-03 16:39:42 -0400
committerRob Pike <r@golang.org>2013-06-03 16:39:42 -0400
commit850629c732bc1945e1d4f2b59449bd3e176b94d6 (patch)
treea9e5cd9ad9c98a88c39b6cd6753aa1263a2d7d16 /src/cmd/go/run.go
parent9f3466b5bdb1e1b8d5b73698239c996b539b22b7 (diff)
downloadgo-850629c732bc1945e1d4f2b59449bd3e176b94d6.tar.gz
cmd/go: document flag passing for tests
Fixes issue 5566. R=rsc CC=gobot, golang-dev https://codereview.appspot.com/9882043
Diffstat (limited to 'src/cmd/go/run.go')
-rw-r--r--src/cmd/go/run.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/run.go b/src/cmd/go/run.go
index b50569363..e6dadd229 100644
--- a/src/cmd/go/run.go
+++ b/src/cmd/go/run.go
@@ -16,6 +16,7 @@ var cmdRun = &Command{
Short: "compile and run Go program",
Long: `
Run compiles and runs the main package comprising the named Go source files.
+A Go source file is defined to be a file ending in a literal ".go" suffix.
For more about build flags, see 'go help build'.