mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
when logging version, also log go version and goos and goarch
This commit is contained in:
1
main.go
1
main.go
@ -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.
|
||||
|
Reference in New Issue
Block a user