diff --git a/cmd/godoc/doc.go b/cmd/godoc/doc.go index 275423a100..9ff6026d17 100644 --- a/cmd/godoc/doc.go +++ b/cmd/godoc/doc.go @@ -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: