show selected compression level when opening repository

This commit is contained in:
Michael Eischer 2022-10-22 20:18:46 +02:00
parent b57d42905c
commit 4fea3a413d

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 (repository version %v, compression level %v)\n", id, s.Config().Version, opts.Compression.String())
}
}