doc/go1.13: describe 'go env -w'
Change-Id: I0c8c30b40a33763dc34f15d144346eb1a0997df2
Reviewed-on: https://go-review.googlesource.com/c/go/+/183631
Reviewed-by: Jay Conrod <jayconrod@google.com>
diff --git a/doc/go1.13.html b/doc/go1.13.html
index 54dc765..d48bf72 100644
--- a/doc/go1.13.html
+++ b/doc/go1.13.html
@@ -279,6 +279,17 @@
<h3 id="go-command">Go command</h3>
+<p id="go-env-w"><!-- CL 171137 -->
+ The <a href="/cmd/go/#hdr-Environment_variables"><code>go</code> <code>env</code></a>
+ command now accepts a <code>-w</code> flag to set the per-user default value
+ of an enviroment variable recognized by the
+ <code>go</code> command, and a corresponding <code>-u</code> flag to unset a
+ previously-set default. Defaults set via
+ <code>go</code> <code>env</code> <code>-w</code> are stored in the
+ <code>go/env</code> file within
+ <a href="/pkg/os/#UserConfigDir"><code>os.UserConfigDir()</code></a>.
+</p>
+
<p id="trimpath"><!-- CL 173345 -->
The new <a href="/cmd/go/#hdr-Compile_packages_and_dependencies"><code>go</code>
<code>build</code> flag</a> <code>-trimpath</code> removes all file system paths
@@ -298,10 +309,6 @@
files may be searched for directives but ignored during build.
</p>
-<p><!-- CL 171137 -->
- TODO
-</p>
-
<h3 id="compiler">Compiler toolchain</h3>
<p><!-- CL 170448 -->