From 7d34caac8390d64e68e5403365f838588293ec77 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 4 Aug 2017 14:25:20 +0100 Subject: [PATCH] cmd: add os and go version to rclone version output --- cmd/cmd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/cmd.go b/cmd/cmd.go index 3252b7169..960b2408b 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -99,6 +99,8 @@ func init() { // ShowVersion prints the version to stdout func ShowVersion() { fmt.Printf("rclone %s\n", fs.Version) + fmt.Printf("- os/arch: %s/%s\n", runtime.GOOS, runtime.GOARCH) + fmt.Printf("- go version: %s\n", runtime.Version()) } // newFsFile creates a dst Fs from a name but may point to a file.