1
0
mirror of https://github.com/golang/go synced 2024-11-24 11:10:03 -07:00

godoc: default filter file name should be ""

R=rsc
CC=golang-dev
https://golang.org/cl/2241043
This commit is contained in:
Robert Griesemer 2010-09-20 16:19:17 -07:00
parent 103d756663
commit c20e024df3

View File

@ -53,7 +53,7 @@ var (
// file system roots
goroot = flag.String("goroot", runtime.GOROOT(), "Go root directory")
path = flag.String("path", "", "additional package directories (colon-separated)")
filter = flag.String("filter", "godoc.dirlist", "filter file containing permitted package directory paths")
filter = flag.String("filter", "", "filter file containing permitted package directory paths")
filterMin = flag.Int("filter_minutes", 0, "filter file update interval in minutes; disabled if <= 0")
filterDelay delayTime // actual filter update interval in minutes; usually filterDelay == filterMin, but filterDelay may back off exponentially