mirror of https://github.com/golang/go.git
doc/go1.17: document flag changes for Go 1.17
This commit is contained in:
parent
5c489514bc
commit
5c5ffb9db1
|
|
@ -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>
|
<dl id="flag"><dt><a href="/pkg/flag/">flag</a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><!-- CL 271788 -->
|
<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>
|
</p>
|
||||||
</dd>
|
</dd>
|
||||||
</dl><!-- flag -->
|
</dl><!-- flag -->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue