summaryrefslogtreecommitdiff
path: root/src/cmd/go/mkdoc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/mkdoc.sh')
-rwxr-xr-xsrc/cmd/go/mkdoc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/go/mkdoc.sh b/src/cmd/go/mkdoc.sh
index 7768baeb6..12fd7ba3e 100755
--- a/src/cmd/go/mkdoc.sh
+++ b/src/cmd/go/mkdoc.sh
@@ -3,6 +3,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
+go install # So the next line will produce updated documentation.
go help documentation > doc.go
gofmt -w doc.go