check: Document behavior of --with-cache a bit better

Also see https://forum.restic.net/t/how-to-speed-up-tiny-incremental-checks/5905
This commit is contained in:
Ben Wiederhake 2023-01-30 14:20:30 +01:00
parent cf6dfd6d36
commit 9888443f5c

View file

@ -65,7 +65,7 @@ func init() {
// MarkDeprecated only returns an error when the flag is not found // MarkDeprecated only returns an error when the flag is not found
panic(err) panic(err)
} }
f.BoolVar(&checkOptions.WithCache, "with-cache", false, "use the cache") f.BoolVar(&checkOptions.WithCache, "with-cache", false, "use existing cache, only read uncached data from repository")
} }
func checkFlags(opts CheckOptions) error { func checkFlags(opts CheckOptions) error {