mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
godoc: initialize vars depending on flags after parsing the flags.
R=rsc CC=golang-dev https://golang.org/cl/206109
This commit is contained in:
parent
ffd0961313
commit
ca075494a6
2 changed files with 4 additions and 1 deletions
|
|
@ -152,6 +152,7 @@ func main() {
|
|||
log.Exitf("negative tabwidth %d", *tabwidth)
|
||||
}
|
||||
|
||||
initHandlers()
|
||||
readTemplates()
|
||||
|
||||
if *httpaddr != "" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue