mirror of
https://github.com/golang/go
synced 2024-11-24 12:20:17 -07:00
cmd/go: make it clearer that go generate accepts all build flags
Just add one word to clarify that -n -v -x are not the only build flags supported. Fixes #13237. Change-Id: I880472639bf2fc1a0751a83041bc7ddd0c9e55f4 Reviewed-on: https://go-review.googlesource.com/17062 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
f2a0fc10c9
commit
997ed6fd3b
@ -451,7 +451,7 @@ Go generate accepts one specific flag:
|
|||||||
any trailing spaces and final newline) matches the
|
any trailing spaces and final newline) matches the
|
||||||
expression.
|
expression.
|
||||||
|
|
||||||
It also accepts the standard build flags -v, -n, and -x.
|
It also accepts the standard build flags including -v, -n, and -x.
|
||||||
The -v flag prints the names of packages and files as they are
|
The -v flag prints the names of packages and files as they are
|
||||||
processed.
|
processed.
|
||||||
The -n flag prints commands that would be executed.
|
The -n flag prints commands that would be executed.
|
||||||
|
@ -115,7 +115,7 @@ Go generate accepts one specific flag:
|
|||||||
any trailing spaces and final newline) matches the
|
any trailing spaces and final newline) matches the
|
||||||
expression.
|
expression.
|
||||||
|
|
||||||
It also accepts the standard build flags -v, -n, and -x.
|
It also accepts the standard build flags including -v, -n, and -x.
|
||||||
The -v flag prints the names of packages and files as they are
|
The -v flag prints the names of packages and files as they are
|
||||||
processed.
|
processed.
|
||||||
The -n flag prints commands that would be executed.
|
The -n flag prints commands that would be executed.
|
||||||
|
Loading…
Reference in New Issue
Block a user