diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/jarink/main.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/jarink/main.go b/cmd/jarink/main.go index 9d6d1e8..88361ea 100644 --- a/cmd/jarink/main.go +++ b/cmd/jarink/main.go @@ -20,6 +20,7 @@ func main() { var ( optIgnoreStatus string + optInsecure bool optIsVerbose bool optPastResult string ) @@ -27,6 +28,9 @@ func main() { flag.StringVar(&optIgnoreStatus, `ignore-status`, ``, `Comma separated HTTP response status code to be ignored.`) + flag.BoolVar(&optInsecure, `insecure`, false, + `Do not report as error on server with invalid certificates.`) + flag.BoolVar(&optIsVerbose, `verbose`, false, `Print additional information while running.`) @@ -41,6 +45,7 @@ func main() { case `brokenlinks`: var opts = brokenlinks.Options{ IgnoreStatus: optIgnoreStatus, + Insecure: optInsecure, IsVerbose: optIsVerbose, PastResultFile: optPastResult, } |
