From ca5b31783682c84574148cdb9c211cebbb006c11 Mon Sep 17 00:00:00 2001 From: billf Date: Fri, 14 Jan 2000 23:40:38 +0000 Subject: Add '-t X' which times out after pinging for X seconds. Submitted by: adrian --- sbin/ping/ping.8 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sbin/ping/ping.8') diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8 index fca80ac..813381c 100644 --- a/sbin/ping/ping.8 +++ b/sbin/ping/ping.8 @@ -219,6 +219,9 @@ force the source address to be something other than the IP address of the interface the probe packet is sent on. If the IP address is not one of this machine's interface addresses, an error is returned and nothing is sent. +.It Fl t Ar timeout +Specify a timeout, in seconds, before ping exits regardless of how +many packets have been recieved. .It Fl T Ar ttl Set the IP Time To Live for multicasted packets. This flag only applies if the ping destination is a multicast address. -- cgit v1.1