aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-10-19 09:26:11 +1100
committerAndrew Gerrand <adg@golang.org>2010-10-19 09:26:11 +1100
commitf1e1fd8b466118e8695564184284d2bc4db91eb1 (patch)
tree17da634ef032be310a0dcf1e0072b4ee657b4f9c
parent1ffb1f2b66253ae52d3990e6449f251168b7ea9b (diff)
downloadgo-f1e1fd8b466118e8695564184284d2bc4db91eb1.tar.gz
go-f1e1fd8b466118e8695564184284d2bc4db91eb1.zip
gc: update usage string in doc.go
R=rsc, r2, r CC=golang-dev https://golang.org/cl/2550041
-rw-r--r--src/cmd/gc/doc.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/gc/doc.go b/src/cmd/gc/doc.go
index 7798f9bf85..45db1acf1b 100644
--- a/src/cmd/gc/doc.go
+++ b/src/cmd/gc/doc.go
@@ -25,7 +25,10 @@ other packages. It is therefore not necessary when compiling client C of
package P to read the files of P's dependencies, only the compiled output
of P.
-Usage: 6g [flags] *.go (or 8g or 5g)
+Usage:
+ 6g [flags] file...
+The specified files must be Go source files and all part of the same package.
+Substitute 6g with 8g or 5g where appropriate.
Flags:
-o file