Subject: ping parameter confusion
To: None <current-users@netbsd.org>
From: Michael Core <520079546242-0001@t-online.de>
List: current-users
Date: 06/02/2002 05:43:24
Hi,

I've read man ping(8) again and found the parameter "-h":

-h host
is an alternate way of specifying the target host instead
of as the last argument.

Now when I do "ping -h HOST" ping fails because of wrong usage. When I
do "ping -h HOST blah" ping works. It pings HOST and ignores "blah".
Otherwise if I try e.g. "ping -h HOST -D" ping recognizes the parameter
"-D". Even worse ping accepts more than one "-h" but ignores every host
but the last one. I would say that's explainable but confusing.

Michael