Merge pull request #4182 from BenWiederhake/dev-with-cache-description

check: Document behavior of --with-cache a bit better
This commit is contained in:
Michael Eischer
2023-02-19 19:41:38 +01:00
committed by GitHub

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 {