mirror of https://github.com/restic/restic.git
Add OS and Arch to 'version' output
This commit is contained in:
parent
1dd9a58e5a
commit
e443454c4b
|
@ -18,8 +18,8 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cmd CmdVersion) Execute(args []string) error {
|
func (cmd CmdVersion) Execute(args []string) error {
|
||||||
fmt.Printf("restic %s\ncompiled at %s with %v\n",
|
fmt.Printf("restic %s\ncompiled at %s with %v on %v/%v\n",
|
||||||
version, compiledAt, runtime.Version())
|
version, compiledAt, runtime.Version(), runtime.GOOS, runtime.GOARCH)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue