cmd/godoc: fix indexing
Use the flag. Thanks to Travis Cline. Fixes golang/go#6233 R=golang-dev, adg CC=golang-dev https://golang.org/cl/13284044
This commit is contained in:
parent
e08d89f3ed
commit
6f6897428a
|
|
@ -221,6 +221,7 @@ func main() {
|
|||
corpus.Verbose = *verbose
|
||||
corpus.IndexEnabled = *indexEnabled && httpMode
|
||||
corpus.IndexFiles = *indexFiles
|
||||
corpus.IndexThrottle = *indexThrottle
|
||||
if *writeIndex {
|
||||
corpus.IndexThrottle = 1.0
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue