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:
Robert Griesemer 2010-02-16 12:49:41 -08:00
parent ffd0961313
commit ca075494a6
2 changed files with 4 additions and 1 deletions

View file

@ -152,6 +152,7 @@ func main() {
log.Exitf("negative tabwidth %d", *tabwidth)
}
initHandlers()
readTemplates()
if *httpaddr != "" {