1
0
mirror of https://github.com/golang/go synced 2024-11-26 14:08:37 -07:00

doc/go1.17: document flag changes for Go 1.17

This commit is contained in:
KimMachineGun 2021-05-13 22:14:02 +09:00
parent 5c489514bc
commit 5c5ffb9db1

View File

@ -318,7 +318,9 @@ Do not send CLs removing the interior tags from such phrases.
<dl id="flag"><dt><a href="/pkg/flag/">flag</a></dt>
<dd>
<p><!-- CL 271788 -->
TODO: <a href="https://golang.org/cl/271788">https://golang.org/cl/271788</a>: panic if flag name begins with - or contains =
Now
<a href="/pkg/flag/#FlagSet.Var">FlagSet.Var</a>
panics, if flag name begins with '-' or contains '='.
</p>
</dd>
</dl><!-- flag -->