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
Usage:
godoc [flag] package [name ...]
The flags are:
-v
verbose mode
-q
@ -82,9 +84,9 @@ The flags are:
webserver address for command line searches
-analysis=type,pointer
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
"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=""