diff --git a/src/cmd/godoc/godoc.go b/src/cmd/godoc/godoc.go index 4abcf89405d..d85cb024e0d 100644 --- a/src/cmd/godoc/godoc.go +++ b/src/cmd/godoc/godoc.go @@ -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