From f1e1fd8b466118e8695564184284d2bc4db91eb1 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 19 Oct 2010 09:26:11 +1100 Subject: [PATCH] gc: update usage string in doc.go R=rsc, r2, r CC=golang-dev https://golang.org/cl/2550041 --- src/cmd/gc/doc.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmd/gc/doc.go b/src/cmd/gc/doc.go index 7798f9bf85f..45db1acf1b0 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