mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-15 20:01:03 +00:00
added new --no-proxy-for option
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2355 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c8920096e0
commit
fab10dadba
1 changed files with 4 additions and 0 deletions
|
|
@ -417,6 +417,10 @@ group.add_option("-N", "--nntp-server", type="string", dest="nntpserver",
|
|||
"""Specify an NNTP server for 'news:...' links. Default is the
|
||||
environment variable NNTP_SERVER. If no host is given,
|
||||
only the syntax of the link is checked."""))
|
||||
group.add_option("--no-proxy-for", type="string", action="append",
|
||||
dest="noproxy", help=_(
|
||||
"""Contact hosts that match the given expression directly instead of
|
||||
going through a proxy."""))
|
||||
optparser.add_option_group(group)
|
||||
|
||||
################# deprecated options ##################
|
||||
|
|
|
|||
Loading…
Reference in a new issue