Commit 70f3b609 authored by Dominik Honnef's avatar Dominik Honnef Committed by Shenghou Ma

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
parent b25a53ac
...@@ -370,7 +370,6 @@ Usage: ...@@ -370,7 +370,6 @@ Usage:
go run [build flags] gofiles... [arguments...] go run [build flags] gofiles... [arguments...]
Run compiles and runs the main package comprising the named Go source files. 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'. For more about build flags, see 'go help build'.
......
...@@ -16,7 +16,6 @@ var cmdRun = &Command{ ...@@ -16,7 +16,6 @@ var cmdRun = &Command{
Short: "compile and run Go program", Short: "compile and run Go program",
Long: ` Long: `
Run compiles and runs the main package comprising the named Go source files. 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'. For more about build flags, see 'go help build'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment