Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/ping change description of -w option to match reality



details:   https://anonhg.NetBSD.org/src/rev/3c228f0df1a7
branches:  trunk
changeset: 538703:3c228f0df1a7
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Oct 26 12:06:04 2002 +0000

description:
change description of -w option to match reality
this fixes bin/12113 by Jim Bernard and bin/16011 by gabriel rosenkoetter

diffstat:

 sbin/ping/ping.8 |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 623899ddac48 -r 3c228f0df1a7 sbin/ping/ping.8
--- a/sbin/ping/ping.8  Sat Oct 26 11:40:56 2002 +0000
+++ b/sbin/ping/ping.8  Sat Oct 26 12:06:04 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ping.8,v 1.40 2002/10/01 13:40:48 wiz Exp $
+.\"    $NetBSD: ping.8,v 1.41 2002/10/26 12:06:04 jdolecek Exp $
 .\"
 .\" Copyright (c) 1985, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -77,7 +77,7 @@
 .Op Fl T Ar ttl
 .Ek
 .Bk -words
-.Op Fl w Ar maxwait
+.Op Fl w Ar deadline
 .Ek
 .Ar host
 .Sh DESCRIPTION
@@ -235,10 +235,9 @@
 packets other than
 .Tn ECHO_RESPONSE
 that are received are listed.
-.It Fl w Ar maxwait
-Specifies the number of seconds to wait for a response to a packet
-before transmitting the next one.
-The default is 10.0.
+.It Fl w Ar deadline
+Specifies a timeout, in seconds, before ping exits regardless of
+how many packets have been sent or received.
 .El
 .Pp
 When using



Home | Main Index | Thread Index | Old Index