From 4c3e5700e7a959b8e96d12a520db87f76a4db407 Mon Sep 17 00:00:00 2001 From: Martin Dosch Date: Sat, 16 Mar 2024 22:37:17 +0100 Subject: [PATCH] Also add go version to system output. --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 7a36125..ca69d57 100644 --- a/main.go +++ b/main.go @@ -145,8 +145,8 @@ func main() { case *flagVersion: // If requested, show version and quit. fmt.Println("go-sendxmpp", version) - fmt.Println("Go:", runtime.Version()) - fmt.Println("System:", runtime.GOOS, "/", runtime.GOARCH) + fmt.Println("System:", runtime.GOOS, "/", runtime.GOARCH, "/", + runtime.Version()) fmt.Println("License: BSD-2-clause") os.Exit(0) // Quit if Ox (OpenPGP for XMPP) is requested for unsupported operations like