]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/pack,vet: use `go doc` instead of `godoc` in doc
authorHyang-Ah Hana Kim <hyangah@gmail.com>
Thu, 17 Mar 2016 19:32:20 +0000 (15:32 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Thu, 17 Mar 2016 21:06:40 +0000 (21:06 +0000)
Change-Id: Ic5f62a7d0a5c090da69213d1d0187af0ea48e358
Reviewed-on: https://go-review.googlesource.com/20820
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/pack/pack.go
src/cmd/vet/main.go

index f65ae0cf9407dcb9ef01e7bf4682a6415c6092d3..5be42555d08118daa87f00a00c46f3c3c97dbeef 100644 (file)
@@ -40,7 +40,7 @@ For compatibility with old Go build environments the op string grc is
 accepted as a synonym for c.
 
 For more information, run
-       godoc cmd/pack`
+       go doc cmd/pack`
 
 func usage() {
        fmt.Fprintln(os.Stderr, usageMessage)
index 12000867aefdad7c56e36956b22afb6b1eb0e860..2d5da9895ff0fbf31297437d652621f886d75e2f 100644 (file)
@@ -164,7 +164,7 @@ func Usage() {
        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, "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")
        flag.PrintDefaults()
        os.Exit(2)