]> Cypherpunks repositories - gostls13.git/commit
cmd/go: update "go help doc" docs
authorRoi Martin <jroi.martin@gmail.com>
Tue, 30 Nov 2021 18:35:47 +0000 (19:35 +0100)
committerBryan Mills <bcmills@google.com>
Mon, 6 Dec 2021 19:10:14 +0000 (19:10 +0000)
commit7a840664fe9d8d4c11b943dba77c513dba5207a1
tree98587ace87092631a9c6d26fcb4a12d331665ee0
parent2cb9042dc2d5fdf6013305a077d013dbbfbaac06
cmd/go: update "go help doc" docs

This CL updates "go help doc" docs so they reflect the following
changes:

- CL 59413 modified "go doc", so the behavior of the two-args case is
  consistent with the one-arg one.
- CL 141397 removed godoc's command-line interface in favor of "go doc".

Fixes #49830.

Change-Id: I0923634291d34ae663fe2944d69757462b814919
Reviewed-on: https://go-review.googlesource.com/c/go/+/367497
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Russ Cox <rsc@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/doc/doc.go