2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-08 03:50:49 +00:00

Print repository version when opening a repo

This commit is contained in:
Michael Eischer 2022-04-11 20:59:44 +02:00
parent 7132df529e
commit ba27d29d58

View File

@ -471,7 +471,7 @@ func OpenRepository(opts GlobalOptions) (*repository.Repository, error) {
id = id[:8]
}
if !opts.JSON {
Verbosef("repository %v opened successfully, password is correct\n", id)
Verbosef("repository %v opened (repo version %v) successfully, password is correct\n", id, s.Config().Version)
}
}