diff --git a/linkchecker b/linkchecker index a00dbc06..95ecdca9 100755 --- a/linkchecker +++ b/linkchecker @@ -440,7 +440,7 @@ if options.debug and not __debug__: # apply commandline options and arguments to configuration constructauth = False do_profile = False -if options.warnings: +if not options.warnings: config["warnings"] = options.warnings if options.externstrict: pats = [linkcheck.get_link_pat(arg, strict=True) \