diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
| commit | 7b15ed9ef455b6b66c6b376898a88aef5d6a9970 (patch) | |
| tree | 3ef530baa80cdf29436ba981f5783be6b4d2202b /src/cmd/gopack/doc.go | |
| parent | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (diff) | |
| download | golang-7b15ed9ef455b6b66c6b376898a88aef5d6a9970.tar.gz | |
Imported Upstream version 2011.04.13upstream/2011.04.13
Diffstat (limited to 'src/cmd/gopack/doc.go')
| -rw-r--r-- | src/cmd/gopack/doc.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/gopack/doc.go b/src/cmd/gopack/doc.go index 08711e72e..1551a275f 100644 --- a/src/cmd/gopack/doc.go +++ b/src/cmd/gopack/doc.go @@ -12,12 +12,15 @@ It adds a special Go-specific section __.PKGDEF that collects all the Go type information from the files in the archive; that section is used by the compiler when importing the package during compilation. -Usage: gopack [uvnbailogS][mrxtdpq] archive files ... +Usage: gopack [uvnbailogS][mrxtdpq][P prefix] archive files ... The new option 'g' causes gopack to maintain the __.PKGDEF section as files are added to the archive. The new option 'S' forces gopack to mark the archive as safe. +The new option 'P' causes gopack to remove the given prefix +from file names in the line number information in object files +that are already stored in or added to the archive. */ package documentation |
