From 4a001b8a02808912cb3e1e67ac964e225a108062 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sat, 5 Sep 2020 09:29:35 +0100 Subject: [PATCH] check: add back missing --download flag - fixes #4565 This was accidentally removed when refactoring check and cryptcheck in 8b6f2bbb4bdaa00e check,cryptcheck: add reporting of filenames for same/missing/changed #3264 --- cmd/check/check.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/check/check.go b/cmd/check/check.go index 6bb9472c8..0e1f4a3ec 100644 --- a/cmd/check/check.go +++ b/cmd/check/check.go @@ -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) }