diff --git a/doc/go1.5.html b/doc/go1.5.html index 16620e34ae..23874efff4 100644 --- a/doc/go1.5.html +++ b/doc/go1.5.html @@ -416,8 +416,8 @@ by the environment variables GOOS and GOARCH.

-There are a couple of other changes. -The more significant is the addition of a -buildmode option that +There are several other changes. +The most significant is the addition of a -buildmode option that expands the style of linking; it now supports situations such as building shared libraries and allowing other languages to call into Go libraries. @@ -436,6 +436,29 @@ Also, although this may be fixed, Windows cgo executables are missing some DWARF information.

+

+Finally, the -X flag, which takes two arguments, +as in +

+ +
+-X importpath.name value
+
+ +

+now also accepts a more common Go flag style with a single argument +that is itself a name=value pair: +

+ +
+-X importpath.name=value
+
+ +

+Although the old syntax still works, it is recommended that uses of this +flag in scripts and the like be updated to the new form. +

+

Go command