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:
Dmitri Shuralyov 2017-03-01 21:58:49 -05:00 committed by Dominik Honnef
parent 181cdfd456
commit a663d825ff
1 changed files with 4 additions and 2 deletions

View File

@ -35,9 +35,11 @@ web page.
godoc -http=:6060 godoc -http=:6060
Usage: Usage:
godoc [flag] package [name ...] godoc [flag] package [name ...]
The flags are: The flags are:
-v -v
verbose mode verbose mode
-q -q
@ -84,7 +86,7 @@ The flags are:
comma-separated list of analyses to perform comma-separated list of analyses to perform
"type": display identifier resolution, type info, method sets, "type": display identifier resolution, type info, method sets,
'implements', and static callees 'implements', and static callees
"pointer" display channel peers, callers and dynamic callees "pointer": display channel peers, callers and dynamic callees
(significantly slower) (significantly slower)
See http://golang.org/lib/godoc/analysis/help.html for details. See http://golang.org/lib/godoc/analysis/help.html for details.
-templates="" -templates=""