]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: fix closing brace in .Export format
authorRyuji Iwata <qt.luigi@gmail.com>
Tue, 26 Jan 2021 12:53:08 +0000 (12:53 +0000)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 27 Jan 2021 08:36:43 +0000 (08:36 +0000)
A parenthesis of go list "-f" flag format is double curly braces.

Change-Id: Ifd38e0b0ae3c46272a4acd65584818228168b7c6
GitHub-Last-Rev: b46030492b5caf18fe127621fdf92cbec4c03ad5
GitHub-Pull-Request: golang/go#43924
Reviewed-on: https://go-review.googlesource.com/c/go/+/286752
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>

doc/go1.16.html

index 7ddb4a935ec1c860615e2b716c09b7dd65840102..3a45940479d25244101a5ba7c67f987409b0ddf8 100644 (file)
@@ -275,7 +275,7 @@ Do not send CLs removing the interior tags from such phrases.
   When the <code>-export</code> flag is specified, the <code>BuildID</code>
   field is now set to the build ID of the compiled package. This is equivalent
   to running <code>go</code> <code>tool</code> <code>buildid</code> on
-  <code>go</code> <code>list</code> <code>-exported</code> <code>-f</code> <code>{{.Export}</code>,
+  <code>go</code> <code>list</code> <code>-exported</code> <code>-f</code> <code>{{.Export}}</code>,
   but without the extra step.
 </p>