Better explanation of the -h argument

master
Stephane Bortzmeyer 17 years ago
parent 2a6367aa85
commit 8a889a4cc7

@ -17,7 +17,7 @@ echoping \- tests a remote host with TCP or UDP
.RI [-s size] .RI [-s size]
.RI [-n number] .RI [-n number]
.RI [-w delay] .RI [-w delay]
.RI [-h url] .RI [-h url-or-path]
.RI [-R] .RI [-R]
.RI [-i url] .RI [-i url]
.RI [-p priority] .RI [-p priority]
@ -84,13 +84,12 @@ Use UDP instead of TCP
Use the "discard" service instead of echo Use the "discard" service instead of echo
.IP -c .IP -c
Use the "chargen" service instead of echo Use the "chargen" service instead of echo
.IP -h\ url .IP -h\ url-or-path
Use the HTTP protocol (instead of echo) for the given URL. If the Use the HTTP protocol (instead of echo) for the given URL. If the
hostname is the Web server, the URL has to hostname is the Web server, the argument has to
be a relative one (for instance '/' or '/pics/foobar.gif') because HTTP 1.0 be a path, a relative URL (for instance '/' or '/pics/foobar.gif'). If the
servers will not understand a request for an absolute URL. If the hostname is a proxy/cache like Squid, the argument has to
hostname is a proxy/cache like Squid, the URL has to be an absolute URL.
be an absolute one.
.IP -R .IP -R
Accept HTTP status codes 3xx (redirections) as normal responses (the Accept HTTP status codes 3xx (redirections) as normal responses (the
default is to regard them as errors) default is to regard them as errors)

Loading…
Cancel
Save