mirror of
https://github.com/golang/go
synced 2024-11-07 13:36:19 -07:00
cmd/go: fix typos in go help mod subpages
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>
This commit is contained in:
parent
c882f4b6b1
commit
6502c11286
@ -722,7 +722,8 @@
|
||||
// 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
|
||||
@ -842,7 +843,7 @@
|
||||
// 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
|
||||
@ -912,7 +913,7 @@
|
||||
// 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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
`,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user