mirror of
https://github.com/restic/restic.git
synced 2025-05-17 08:58:21 +00:00
check: Slightly improve help message
If a repository has both pack/index related warnings and errors, then the help message is quite misleading. Reword it slightly to be more clear.
This commit is contained in:
parent
bcae28afb4
commit
aea96b7d86
@ -245,7 +245,7 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts GlobalOptions, args
|
|||||||
}
|
}
|
||||||
|
|
||||||
if suggestIndexRebuild {
|
if suggestIndexRebuild {
|
||||||
Printf("This is non-critical, you can run `restic rebuild-index' to correct this\n")
|
Printf("Duplicate packs/old indexes are non-critical, you can run `restic rebuild-index' to correct this.\n")
|
||||||
}
|
}
|
||||||
if mixedFound {
|
if mixedFound {
|
||||||
Printf("Mixed packs with tree and data blobs are non-critical, you can run `restic prune` to correct this.\n")
|
Printf("Mixed packs with tree and data blobs are non-critical, you can run `restic prune` to correct this.\n")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user