1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:14:39 -07:00

cmd/godoc: fix command for creating the zip file

The `-r` option (to recurse into directories) need to be specified
else the created file consists only of the specified directory and
nothing else.

Change-Id: I624184fc2e88998a3119c12f8c328603588c123c
Reviewed-on: https://go-review.googlesource.com/17283
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Mohit Agarwal 2015-12-01 18:51:54 +05:30 committed by Russ Cox
parent 471a6e15ec
commit 73d2e795b8

View File

@ -134,7 +134,7 @@ slash ('/') as path separator; and they must be unrooted. $GOROOT (or -goroot)
must be set to the .zip file directory path containing the Go root directory.
For instance, for a .zip file created by the command:
zip go.zip $HOME/go
zip -r go.zip $HOME/go
one may run godoc as follows: