mirror of
https://github.com/restic/restic.git
synced 2025-04-25 17:50:46 +00:00
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 {
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user