]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix count of number of reserved names (doc change).
authorDavid Symonds <dsymonds@golang.org>
Fri, 15 May 2015 05:37:40 +0000 (15:37 +1000)
committerDavid Symonds <dsymonds@golang.org>
Fri, 15 May 2015 05:53:39 +0000 (05:53 +0000)
Change-Id: I2784f831453d929df64c66febb4982cdf1f08e06
Reviewed-on: https://go-review.googlesource.com/10133
Reviewed-by: Minux Ma <minux@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/help.go

index e0d4a6c0fecd8e5bfaf0835e7a8be4278a61535b..2b1cbf98ec9586bd9266adf913936544aed9e1c0 100644 (file)
@@ -503,6 +503,7 @@ syntax of package template.  The default output is equivalent to -f
         Name          string // package name
         Doc           string // package documentation string
         Target        string // install path
+        Shlib         string // the shared library that contains this package (only set when -linkshared)
         Goroot        bool   // is this package in the Go root?
         Standard      bool   // is this package part of the standard Go library?
         Stale         bool   // would 'go install' do anything for this package?
@@ -1053,7 +1054,7 @@ environment variable (see 'go help gopath').
 If no import paths are given, the action applies to the
 package in the current directory.
 
-There are three reserved names for paths that should not be used
+There are four reserved names for paths that should not be used
 for packages to be built with the go tool:
 
 - "main" denotes the top-level package in a stand-alone executable.
index 56e8493e1a53173958b416fe7d1745cc08f8e7af..2062f0c4ee085e247ce3637c19ddad31740b197f 100644 (file)
@@ -47,7 +47,7 @@ environment variable (see 'go help gopath').
 If no import paths are given, the action applies to the
 package in the current directory.
 
-There are three reserved names for paths that should not be used
+There are four reserved names for paths that should not be used
 for packages to be built with the go tool:
 
 - "main" denotes the top-level package in a stand-alone executable.