diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2002-06-22 22:47:46 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2002-06-22 22:47:46 +0000 |
commit | 82c368be9d270bb950732d1a15b8d2535cb53967 (patch) | |
tree | 6ed2f82c81001c1690eaa4b4102430057dd86eb2 /sbin | |
parent | b3d5f5e5cc2dd8c01708e01322b61e550b250f6b (diff) |
document -T option, PR#2766. ok deraadt@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ping/ping.8 | 3 | ||||
-rw-r--r-- | sbin/ping/ping.c | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8 index 322c6efa701..e0c533d8c91 100644 --- a/sbin/ping/ping.8 +++ b/sbin/ping/ping.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ping.8,v 1.24 2001/06/23 21:07:14 pvalchev Exp $ +.\" $OpenBSD: ping.8,v 1.25 2002/06/22 22:47:45 jakob Exp $ .\" $NetBSD: ping.8,v 1.10 1995/12/31 04:55:35 ghudson Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 @@ -51,6 +51,7 @@ packets to network hosts .Op Fl l Ar preload .Op Fl p Ar pattern .Op Fl s Ar packetsize +.Op Fl T Ar tos .Op Fl t Ar ttl .Op Fl w Ar maxwait .Ar host diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 87a31a5b289..652ae109cf4 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping.c,v 1.53 2002/05/31 04:54:36 deraadt Exp $ */ +/* $OpenBSD: ping.c,v 1.54 2002/06/22 22:47:45 jakob Exp $ */ /* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */ /* @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93"; #else -static char rcsid[] = "$OpenBSD: ping.c,v 1.53 2002/05/31 04:54:36 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ping.c,v 1.54 2002/06/22 22:47:45 jakob Exp $"; #endif #endif /* not lint */ @@ -1339,7 +1339,7 @@ usage() { (void)fprintf(stderr, "usage: ping [-DdfLnqRrv] [-c count] [-I ifaddr] [-i wait]\n" - "\t[-l preload] [-p pattern] [-s packetsize] [-t ttl]" - " [-w maxwait] host\n"); + "\t[-l preload] [-p pattern] [-s packetsize] [-T tos] [-t ttl]\n" + "\t[-w maxwait] host\n"); exit(1); } |