Merge pull request #84 from reinholdfuereder/master

Avoid info log 'Checking intern URLs only…' when calling 'linkchecker --version'
This commit is contained in:
anarcat 2017-09-11 10:55:49 -04:00 committed by GitHub
commit 9af06b968b

View file

@ -425,6 +425,8 @@ if options.debug and not __debug__:
# apply commandline options and arguments to configuration
constructauth = False
do_profile = False
if options.version:
print_version()
if not options.warnings:
config["warnings"] = options.warnings
if options.externstrict:
@ -523,8 +525,6 @@ if options.timeout is not None:
else:
print_usage(_("Illegal argument %(arg)r for option %(option)s") % \
{"arg": options.timeout, "option": "'--timeout'"})
if options.version:
print_version()
if options.listplugins:
print_plugins(config["pluginfolders"])
if options.verbose: