1
0
mirror of https://github.com/golang/go synced 2024-11-24 03:40:16 -07:00

cmd/go: regenerate doc.go

Move change from CL 170770043 to correct file and regenerate docs
for changes from CL 164120043.

LGTM=adg
R=golang-codereviews, adg, bradfitz
CC=golang-codereviews
https://golang.org/cl/183000043
This commit is contained in:
Dominik Honnef 2014-12-03 10:28:54 +11:00 committed by Andrew Gerrand
parent ce5d7cffe8
commit 14948481f6
2 changed files with 7 additions and 2 deletions

View File

@ -317,7 +317,7 @@ Download and install packages and dependencies
Usage: Usage:
go get [-d] [-fix] [-t] [-u] [build flags] [packages] go get [-d] [-f] [-fix] [-t] [-u] [build flags] [packages]
Get downloads and installs the packages named by the import paths, Get downloads and installs the packages named by the import paths,
along with their dependencies. along with their dependencies.
@ -325,6 +325,11 @@ along with their dependencies.
The -d flag instructs get to stop after downloading the packages; that is, The -d flag instructs get to stop after downloading the packages; that is,
it instructs get not to install the packages. it instructs get not to install the packages.
The -f flag, valid only when -u is set, forces get -u not to verify that
each package has been checked out from the source control repository
implied by its import path. This can be useful if the source is a local fork
of the original.
The -fix flag instructs get to run the fix tool on the downloaded packages The -fix flag instructs get to run the fix tool on the downloaded packages
before resolving dependencies or building the code. before resolving dependencies or building the code.

View File

@ -45,7 +45,7 @@ The arguments are space-separated tokens or double-quoted strings
passed to the generator as individual arguments when it is run. passed to the generator as individual arguments when it is run.
Quoted strings use Go syntax and are evaluated before execution; a Quoted strings use Go syntax and are evaluated before execution; a
quoted string appears a single argument to the generator. quoted string appears as a single argument to the generator.
Go generate sets several variables when it runs the generator: Go generate sets several variables when it runs the generator: