put examples in the man page before options, and update them

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1281 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-03-09 21:36:58 +00:00
parent c385b08b5a
commit a98c87a4ac

View file

@ -25,6 +25,27 @@ robots.txt exclusion protocol support,
i18n support,
a command line interface and
a (Fast)CGI web interface (requires HTTP server)
.SH EXAMPLES
Check the treasure.calvinsplayground.de domain, but don't recurse into
links outside of this domain:
\fBlinkchecker -v --status -r5 -itreasure\\.calvinsplayground\\.de \\
-Fhtml -ocolored http://treasure.calvinsplayground.de/\fP
Don't connect to mailto: hosts, only check their URL syntax. All other
links are checked as usual:
\fBlinkchecker --intern='!^mailto:' --strict www.mysite.org\fP
Checking a local HTML file on Unix:
\fBlinkchecker ../bla.html\fP
Checking a local HTML file on Windows:
\fBlinkchecker c:\\temp\\test.html\fP
You can skip the \fBhttp://\fP url part if the domain starts with \fBwww.\fP:
\fBlinkchecker www.myhomepage.de\fP
You can skip the \fBftp://\fP url part if the domain starts with \fBftp.\fP:
\fBlinkchecker -r0 ftp.linux.org\fP
.SH OPTIONS
For single-letter option arguments the space is not a necessity.
So \fB-o colored\fP is the same as \fB-ocolored\fP.
@ -179,26 +200,5 @@ On a Mac use the Internet Config.
When checking 'news:' links the given NNTP host doesn't need to be the
same as the host of the user browsing your pages!
.SH EXAMPLES
Check the treasure.calvinsplayground.de domain, but don't recurse into
links outside of this domain:
.br
\fBlinkchecker -v -r5 -ohtml -s -itreasure.calvinsplayground.de \\
.br
http://treasure.calvinsplayground.de/~calvin/ > sample.html\fP
Don't connect to mailto: hosts, only check their URL syntax. All other
links are checked as usual:
.br
\fBlinkchecker --intern='!^mailto:' --strict www.mysite.org\fP
Local files and syntactic sugar on the command line:
.br
\fBlinkchecker ../bla.html\fP
.br
\fBlinkchecker www.myhomepage.de\fP
.br
\fBlinkchecker -r0 ftp.linux.org\fP
.SH AUTHOR
Bastian Kleineidam <calvin@debian.org>