From 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Jun 2014 09:22:53 +0200 Subject: Imported Upstream version 1.3 --- src/cmd/gc/doc.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/cmd/gc/doc.go') diff --git a/src/cmd/gc/doc.go b/src/cmd/gc/doc.go index 791967708..03df93a3e 100644 --- a/src/cmd/gc/doc.go +++ b/src/cmd/gc/doc.go @@ -37,6 +37,8 @@ Substitute 6g with 8g or 5g where appropriate. Flags: -o file output file, default file.6 for 6g, etc. + -pack + write an archive file rather than an object file -e normally the compiler quits after 10 errors; -e prints all errors -p path @@ -50,12 +52,14 @@ Flags: add dir1 and dir2 to the list of paths to check for imported packages -N disable optimizations + -nolocalimports + disallow local (relative) imports -S write assembly language text to standard output (code only) -S -S write assembly language text to standard output (code and data) -u - disallow importing packages not marked as safe + disallow importing packages not marked as safe; implies -nolocalimports -V print the compiler version -race -- cgit v1.2.3