add '--no-check-certificate' command-line option

This commit is contained in:
Mike Fährmann
2018-10-07 21:46:00 +02:00
parent 0514d6a0ae
commit af3f81c7d9

View File

@@ -169,6 +169,11 @@ def build_parser():
action=ConfigConstAction, nargs=0, dest="part", const=False,
help="Do not use .part files",
)
downloader.add_argument(
"--no-check-certificate",
action=ConfigConstAction, nargs=0, dest="verify", const=False,
help="Disable HTTPS certificate validation",
)
downloader.add_argument(
"--abort-on-skip",
action=ConfigConstAction, nargs=0, dest="skip", const="abort",