From df86b112c3c751b9287d928c852fd4b58a27f1d8 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Sun, 12 Dec 2021 18:58:39 +0100 Subject: [PATCH] Add insecure flag to checker, too. --- cmd/csaf_checker/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/csaf_checker/main.go b/cmd/csaf_checker/main.go index a2f8eb5..6fa03a1 100644 --- a/cmd/csaf_checker/main.go +++ b/cmd/csaf_checker/main.go @@ -24,8 +24,9 @@ import ( var reportHTML string type options struct { - Output string `short:"o" long:"output" description:"File name of the generated report" value-name:"REPORT-FILE"` - Format string `short:"f" long:"format" choice:"json" choice:"html" description:"Format of report" default:"json"` + Output string `short:"o" long:"output" description:"File name of the generated report" value-name:"REPORT-FILE"` + Format string `short:"f" long:"format" choice:"json" choice:"html" description:"Format of report" default:"json"` + Insecure bool `long:"insecure" description:"Do not check TSL certificates from provider"` } func errCheck(err error) {