when logging version, also log go version and goos and goarch

This commit is contained in:
Mechiel Lukkien
2023-12-14 14:11:13 +01:00
parent 6d081f38fc
commit 22f46aa174
2 changed files with 3 additions and 1 deletions

View File

@ -2863,6 +2863,7 @@ func cmdVersion(c *cmd) {
c.Usage()
}
fmt.Println(moxvar.Version)
fmt.Printf("%s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
}
// todo: should make it possible to run this command against a running mox. it should disconnect existing clients for accounts with a bumped uidvalidity, so they will reconnect and refetch the data.