aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2015-02-09 16:54:06 -0800
committerAndrew Gerrand <adg@golang.org>2015-02-17 06:46:10 +0000
commit15ce943f150d31ef6ba784725321e9032da2e2a1 (patch)
tree4e8c646ee134b9d1e0316c4ba9808ffc4726ffd0
parent886b02d705ffb1be8b4974ac4c355d480a24e3ec (diff)
downloadgo-15ce943f150d31ef6ba784725321e9032da2e2a1.tar.gz
go-15ce943f150d31ef6ba784725321e9032da2e2a1.zip
[release-branch.go1.4] cmd/go: document that -run isn't implemented
I am an idiot but the failure to implement this means we can decide exactly what its design should be for 1.5 Change-Id: Ie2b025fcd899d306ddeddd09d1d0e8f9a99ab7a8 Reviewed-on: https://go-review.googlesource.com/4291 Reviewed-by: Minux Ma <minux@golang.org> (cherry picked from commit 1e5d8bb5444368a7b6f2f169bbbb43452a0479d9) Reviewed-on: https://go-review.googlesource.com/4998 Reviewed-by: David Symonds <dsymonds@golang.org>
-rw-r--r--src/cmd/go/doc.go1
-rw-r--r--src/cmd/go/generate.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go
index d0d8a8a5b2..7191ee0f3a 100644
--- a/src/cmd/go/doc.go
+++ b/src/cmd/go/doc.go
@@ -308,6 +308,7 @@ The generator is run in the package's source directory.
Go generate accepts one specific flag:
-run=""
+ TODO: This flag is unimplemented.
if non-empty, specifies a regular expression to
select directives whose command matches the expression.
diff --git a/src/cmd/go/generate.go b/src/cmd/go/generate.go
index baf4d2b55c..8991fb6af2 100644
--- a/src/cmd/go/generate.go
+++ b/src/cmd/go/generate.go
@@ -106,6 +106,7 @@ The generator is run in the package's source directory.
Go generate accepts one specific flag:
-run=""
+ TODO: This flag is unimplemented.
if non-empty, specifies a regular expression to
select directives whose command matches the expression.