Mercurial > projects > sievemgr
diff cmd/sievemgr/info.go @ 2:6db34a5344b8
Show server implementation in info output
author | Guido Berhoerster <guido+sievemgr@berhoerster.name> |
---|---|
date | Mon, 26 Oct 2020 15:32:20 +0100 |
parents | 0cd5a454dfb4 |
children | 4dff4c3f0fbb |
line wrap: on
line diff
--- a/cmd/sievemgr/info.go Mon Oct 26 14:46:39 2020 +0100 +++ b/cmd/sievemgr/info.go Mon Oct 26 15:32:20 2020 +0100 @@ -60,7 +60,8 @@ } defer c.Logout() - fmt.Println(net.JoinHostPort(host, port)) + fmt.Printf("%s (%s)\n", net.JoinHostPort(host, port), + c.Implementation()) if c.SupportsRFC5804() { fmt.Println("RFC5804 supported") }