mirror of
https://salsa.debian.org/mdosch/go-sendxmpp
synced 2024-11-18 21:25:31 +00:00
Also add go version to system output.
This commit is contained in:
parent
54fb96431e
commit
4c3e5700e7
4
main.go
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user