From: Jay Conrod
Date: Wed, 26 Jun 2019 19:21:38 +0000 (-0400)
Subject: doc/go1.13: describe new 'go version' behavior
X-Git-Tag: go1.13rc1~150
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fc26cbacff12a2f81ab3cb4c55c00dfd0e8bb8ff;p=gostls13.git
doc/go1.13: describe new 'go version' behavior
Change-Id: I18e2546f89e68e77d6e829acc997851751a44f0c
Reviewed-on: https://go-review.googlesource.com/c/go/+/183983
Run-TryBot: Jay Conrod
TryBot-Result: Gobot Gobot
Reviewed-by: Bryan C. Mills
---
diff --git a/doc/go1.13.html b/doc/go1.13.html
index 261af12945..9873978cc3 100644
--- a/doc/go1.13.html
+++ b/doc/go1.13.html
@@ -359,6 +359,18 @@ go env -w GOSUMDB=off
os.UserConfigDir()
.
+
+ The
+ go
version
command now accepts arguments naming
+ executables and directories. When invoked on an executable,
+ go
version
prints the version of Go used to build
+ the executable. If the -m
flag is used,
+ go
version
prints the executable's embedded module
+ version information, if available. When invoked on a directory,
+ go
version
prints information about executables
+ contained in the directory and its subdirectories.
+
+
The new go
build
flag -trimpath
removes all file system paths