]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gofmt: remove stale documentation for the -G flag
authorRob Findley <rfindley@google.com>
Tue, 22 Jun 2021 00:14:21 +0000 (20:14 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 22 Jun 2021 02:44:43 +0000 (02:44 +0000)
This documentation remained from the original dev.typeparams merge. This
flag no longer exists.

Change-Id: Ic9a82071c512614dc1382780d69ef13253fca21d
Reviewed-on: https://go-review.googlesource.com/c/go/+/329792
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/gofmt/doc.go

index 68476e7d4433d04da2c87ebfd0641aaba3a96597..e34066559415e76e6cbea9664d1a19939ca176fe 100644 (file)
@@ -26,9 +26,6 @@ The flags are:
                Do not print reformatted sources to standard output.
                If a file's formatting is different from gofmt's, print its name
                to standard output.
-       -G
-               Allow generic code, using type parameters.
-               See golang.org/issues/43651 for more information.
        -r rule
                Apply the rewrite rule to the source before reformatting.
        -s