From 9192548f803eb9eceee2fcef16fbfdc0947eb468 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Fri, 11 Nov 2011 17:30:52 -0800 Subject: [PATCH] godoc: document -templates flag Fixes #2441. R=r CC=golang-dev https://golang.org/cl/5376078 --- src/cmd/godoc/doc.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/godoc/doc.go b/src/cmd/godoc/doc.go index 60c678e130e..53104152d9a 100644 --- a/src/cmd/godoc/doc.go +++ b/src/cmd/godoc/doc.go @@ -80,6 +80,10 @@ The flags are: repository holding the source files. -sync_minutes=0 sync interval in minutes; sync is disabled if <= 0 + -templates="" + directory containing alternate template files; if set, + the directory may provide alternative template files + for the files in $GOROOT/lib/godoc -filter="" filter file containing permitted package directory paths -filter_minutes=0