2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

Merge pull request #3982 from MichaelEischer/show-compression-mode

Show selected compression level when opening repository
This commit is contained in:
rawtaz 2022-10-30 21:29:42 +01:00 committed by GitHub
commit 4f1fae9c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,7 +498,7 @@ func OpenRepository(ctx context.Context, opts GlobalOptions) (*repository.Reposi
id = id[:8]
}
if !opts.JSON {
Verbosef("repository %v opened (repository version %v) successfully, password is correct\n", id, s.Config().Version)
Verbosef("repository %v opened (version %v, compression level %v)\n", id, s.Config().Version, opts.Compression.String())
}
}