summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/doc.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-05-23 09:45:29 +0200
committerOndřej Surý <ondrej@sury.org>2011-05-23 11:04:16 +0200
commit4e5e42a1c1a9eb757743648c48df70cbd42635db (patch)
tree64220a5cf0a1ad27206bbcdbc810ea56ba5ed67f /src/cmd/godoc/doc.go
parentfd089e27d7260cee1c7ca449c41cdd0341ebc6cb (diff)
downloadgolang-4e5e42a1c1a9eb757743648c48df70cbd42635db.tar.gz
Imported Upstream version 2011.05.22
Diffstat (limited to 'src/cmd/godoc/doc.go')
-rw-r--r--src/cmd/godoc/doc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/godoc/doc.go b/src/cmd/godoc/doc.go
index f0006e750..26d436d72 100644
--- a/src/cmd/godoc/doc.go
+++ b/src/cmd/godoc/doc.go
@@ -47,6 +47,9 @@ The flags are:
width of tabs in units of spaces
-timestamps=true
show timestamps with directory listings
+ -index
+ enable identifier and full text search index
+ (no search box is shown if -index is not set)
-maxresults=10000
maximum number of full text search results shown
(no full text index is built if maxresults <= 0)