mirror of https://github.com/golang/go.git
cmd/pack,vet: use `go doc` instead of `godoc` in doc
Change-Id: Ic5f62a7d0a5c090da69213d1d0187af0ea48e358 Reviewed-on: https://go-review.googlesource.com/20820 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
3a17fdaba0
commit
50487b2c8d
|
|
@ -40,7 +40,7 @@ For compatibility with old Go build environments the op string grc is
|
||||||
accepted as a synonym for c.
|
accepted as a synonym for c.
|
||||||
|
|
||||||
For more information, run
|
For more information, run
|
||||||
godoc cmd/pack`
|
go doc cmd/pack`
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
fmt.Fprintln(os.Stderr, usageMessage)
|
fmt.Fprintln(os.Stderr, usageMessage)
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ func Usage() {
|
||||||
fmt.Fprintf(os.Stderr, "\tvet [flags] directory...\n")
|
fmt.Fprintf(os.Stderr, "\tvet [flags] directory...\n")
|
||||||
fmt.Fprintf(os.Stderr, "\tvet [flags] files... # Must be a single package\n")
|
fmt.Fprintf(os.Stderr, "\tvet [flags] files... # Must be a single package\n")
|
||||||
fmt.Fprintf(os.Stderr, "For more information run\n")
|
fmt.Fprintf(os.Stderr, "For more information run\n")
|
||||||
fmt.Fprintf(os.Stderr, "\tgodoc cmd/vet\n\n")
|
fmt.Fprintf(os.Stderr, "\tgo doc cmd/vet\n\n")
|
||||||
fmt.Fprintf(os.Stderr, "Flags:\n")
|
fmt.Fprintf(os.Stderr, "Flags:\n")
|
||||||
flag.PrintDefaults()
|
flag.PrintDefaults()
|
||||||
os.Exit(2)
|
os.Exit(2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue