check: add back missing --download flag - fixes #4565

This was accidentally removed when refactoring check and cryptcheck in

8b6f2bbb4b check,cryptcheck: add reporting of filenames for same/missing/changed #3264
This commit is contained in:
Nick Craig-Wood 2020-09-05 09:29:35 +01:00
parent 525433e6dd
commit 4a001b8a02

View file

@ -29,6 +29,7 @@ var (
func init() {
cmd.Root.AddCommand(commandDefinition)
cmdFlags := commandDefinition.Flags()
flags.BoolVarP(cmdFlags, &download, "download", "", download, "Check by downloading rather than with hash.")
AddFlags(cmdFlags)
}