]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: make it clearer that go generate accepts all build flags
authorRob Pike <r@golang.org>
Thu, 19 Nov 2015 20:33:32 +0000 (12:33 -0800)
committerRob Pike <r@golang.org>
Fri, 20 Nov 2015 00:28:11 +0000 (00:28 +0000)
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>
src/cmd/go/alldocs.go
src/cmd/go/generate.go

index 7e4892ccd1fbe6f307fabb1ea09efcd98d3e6547..82f848d2e237eea042979b8a4d78d65a80845187 100644 (file)
@@ -451,7 +451,7 @@ Go generate accepts one specific flag:
                any trailing spaces and final newline) matches the
                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
 processed.
 The -n flag prints commands that would be executed.
index 152b7d3fb1562d916a1853a332933b5fc139b3bf..0834aa78237e53c32e9b3030eefd1857da591d1a 100644 (file)
@@ -115,7 +115,7 @@ Go generate accepts one specific flag:
                any trailing spaces and final newline) matches the
                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
 processed.
 The -n flag prints commands that would be executed.