mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-07 00:00:58 +00:00
Merge pull request #457 from mstock/bugfix/no-warnings
Disable warnings if --no-warnings is passed or they are disabled in config file
This commit is contained in:
commit
1cf8dea02f
1 changed files with 1 additions and 1 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue