]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix typos in go help mod subpages
authorAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 16 Aug 2018 14:55:32 +0000 (16:55 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 16 Aug 2018 15:14:35 +0000 (15:14 +0000)
mkalldocs.sh was run and it also picked up a doc change introduced in
CL 128935, where it wasn't run.

Fixes #27030

Change-Id: Ie13fdb71cd7d5481366a02eb711ca48f094026fd
Reviewed-on: https://go-review.googlesource.com/129576
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/list/list.go
src/cmd/go/internal/modcmd/download.go

index 1292596697d0383b08270300aa9d31413774ed1b..70d655747c52e581805f22c77dd64fb0340e38d5 100644 (file)
 // The -compiled flag causes list to set CompiledGoFiles to the Go source
 // files presented to the compiler. Typically this means that it repeats
 // the files listed in GoFiles and then also adds the Go code generated
-// by processing CgoFiles and SwigFiles.
+// by processing CgoFiles and SwigFiles. The Imports list contains the
+// union of all imports from both GoFiles and CompiledGoFiles.
 //
 // The -deps flag causes list to iterate over not just the named packages
 // but also all their dependencies. It visits them in a depth-first post-order
 // module paths match the pattern.
 // A query of the form path@version specifies the result of that query,
 // which is not limited to active modules.
-// See 'go help module' for more about module queries.
+// See 'go help modules' for more about module queries.
 //
 // The template function "module" takes a single string argument
 // that must be a module path or query and returns the specified
 //         Dir     string // absolute path to cached source root directory
 //     }
 //
-// See 'go help module' for more about module queries.
+// See 'go help modules' for more about module queries.
 //
 //
 // Edit go.mod from tools or scripts
index e75270fa552ad8618ab7274c576aa698cdae9f7f..423516aad769fa9468d5ae8685ce2d0390c00588 100644 (file)
@@ -268,7 +268,7 @@ A pattern containing "..." specifies the active modules whose
 module paths match the pattern.
 A query of the form path@version specifies the result of that query,
 which is not limited to active modules.
-See 'go help module' for more about module queries.
+See 'go help modules' for more about module queries.
 
 The template function "module" takes a single string argument
 that must be a module path or query and returns the specified
index 0a457a56f21f3cc90dcb6c77a4d7459776b75cc0..2f072d73cf3063993915cbf3e5c4eb777fd1230f 100644 (file)
@@ -41,7 +41,7 @@ corresponding to this Go struct:
         Dir     string // absolute path to cached source root directory
     }
 
-See 'go help module' for more about module queries.
+See 'go help modules' for more about module queries.
        `,
 }