documentation updates

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@921 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2003-06-20 09:11:54 +00:00
parent 9095e58952
commit 0f369eb918
2 changed files with 14 additions and 3 deletions

View file

@ -38,7 +38,8 @@ OPTIONS
For single-letter option arguments the space is not a necessity. So
'-o colored' is the same as '-ocolored'.
-a, --anchors
Check HTTP anchor references. Default is don't check anchors.
Check HTTP anchor references. This option applies to both intern
and extern urls. Default is don't check anchors.
This option implies -w because anchor errors are always warnings.
-C, --cookies
Accept and send HTTP cookies according to RFC 2109. Only cookies
@ -75,7 +76,7 @@ For single-letter option arguments the space is not a necessity. So
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.
-no-anchor-caching
--no-anchor-caching
Treat url#anchora and url#anchorb as equal on caching. This
is the default browser behaviour, but it's not specified in
the URI specification. Use with care.
@ -365,6 +366,9 @@ for opt,arg in options:
except ValueError:
printUsage(i18n._("Illegal argument %s for option %s") % \
(`arg`, "'--timeout'"))
if timeout <= 0:
printUsage(i18n._("Illegal argument %s for option %s") % \
(`arg`, "'--timeout'"))
linkcheck.timeoutsocket.setDefaultSocketTimeout(timeout)
elif opt=="-u" or opt=="--user":

View file

@ -30,7 +30,9 @@ For single-letter option arguments the space is not a necessity.
So \fI-o colored\fP is the same as \fI-ocolored\fP.
.TP
\fB-a\fP, \fB--anchors\fP
Check HTTP anchor references. Default is don't check anchors.
Check HTTP anchor references. This option applies to both intern
and extern urls. Default is don't check anchors.
This option implies -w because anchor errors are always warnings.
.TP
\fB-C\fP, \fB--cookies\fP
Accept and send HTTP cookies according to RFC 2109. Only cookies
@ -76,6 +78,11 @@ 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.
.TP
\fB--no-anchor-caching\fP
Treat url#anchora and url#anchorb as equal on caching. This
is the default browser behaviour, but it's not specified in
the URI specification. Use with care.
.TP
\fB-o \fItype\fP, \fB--output=\fItype\fP
Specify output type as \fItext\fP, \fIcolored\fP, \fIhtml\fP, \fIsql\fP,
\fIcsv\fP, \fIgml\fP, \fIxml\fP or \fIblacklist\fP.