зеркало из https://github.com/golang/tools.git
cmd/godoc: Fix package comment inconsistencies.
Remove inadvertent and unwanted spaces in the middle of an indented block. Insert blank lines before indented sections for consistency. Insert colon after "pointer" for consistency with "type". Fixes golang/go#19356. Change-Id: Iaae12f69d17adb51a27b516727c13132cb8df8e8 Reviewed-on: https://go-review.googlesource.com/37660 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Dominik Honnef <dominik@honnef.co> Run-TryBot: Dominik Honnef <dominik@honnef.co>
This commit is contained in:
Родитель
181cdfd456
Коммит
a663d825ff
|
@ -35,9 +35,11 @@ web page.
|
|||
godoc -http=:6060
|
||||
|
||||
Usage:
|
||||
|
||||
godoc [flag] package [name ...]
|
||||
|
||||
The flags are:
|
||||
|
||||
-v
|
||||
verbose mode
|
||||
-q
|
||||
|
@ -84,7 +86,7 @@ The flags are:
|
|||
comma-separated list of analyses to perform
|
||||
"type": display identifier resolution, type info, method sets,
|
||||
'implements', and static callees
|
||||
"pointer" display channel peers, callers and dynamic callees
|
||||
"pointer": display channel peers, callers and dynamic callees
|
||||
(significantly slower)
|
||||
See http://golang.org/lib/godoc/analysis/help.html for details.
|
||||
-templates=""
|
||||
|
|
Загрузка…
Ссылка в новой задаче