Also add go version to system output.

v0.9
Martin Dosch 3 months ago
parent 54fb96431e
commit 4c3e5700e7
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -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

Loading…
Cancel
Save