From e443454c4bc7323a3e5a402af6abb78e1f133e7f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 4 Sep 2016 15:46:50 +0200 Subject: [PATCH] Add OS and Arch to 'version' output --- src/cmds/restic/cmd_version.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmds/restic/cmd_version.go b/src/cmds/restic/cmd_version.go index 5e64790a1..28f7633ef 100644 --- a/src/cmds/restic/cmd_version.go +++ b/src/cmds/restic/cmd_version.go @@ -18,8 +18,8 @@ func init() { } func (cmd CmdVersion) Execute(args []string) error { - fmt.Printf("restic %s\ncompiled at %s with %v\n", - version, compiledAt, runtime.Version()) + fmt.Printf("restic %s\ncompiled at %s with %v on %v/%v\n", + version, compiledAt, runtime.Version(), runtime.GOOS, runtime.GOARCH) return nil }