From 57adbf32c2c2fd2f4b1ea916c9b45d6f05a594a7 Mon Sep 17 00:00:00 2001 From: abieber Date: Sat, 3 Jul 2021 02:49:13 +0000 Subject: [PATCH] Update to go-module.5 to reflect the modgo-gen-modules changes. --- share/man/man5/go-module.5 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/share/man/man5/go-module.5 b/share/man/man5/go-module.5 index 4c05fd5759d..8096ebc2ae3 100644 --- a/share/man/man5/go-module.5 +++ b/share/man/man5/go-module.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: go-module.5,v 1.2 2021/03/18 22:36:36 sthen Exp $ +.\" $OpenBSD: go-module.5,v 1.3 2021/07/03 02:49:13 abieber Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 18 2021 $ +.Dd $Mdocdate: July 3 2021 $ .Dt GO-MODULE 5 .Os .Sh NAME @@ -194,6 +194,13 @@ Generate the and the .Ev MODGO_MODFILES lists. +If +.Ev MODGO_VERSION +is set to "latest", the latest known-to-Go version of a package will be used +to build the list of modules. +Similarly, if +.Ev MODGO_VERSION +is empty, the latest version will be fetched. .El .Sh SEE ALSO .Xr port-modules 5 -- 2.20.1