summaryrefslogtreecommitdiffstats
path: root/sbin/ping/ping.8
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1997-03-02 06:32:42 +0000
committerimp <imp@FreeBSD.org>1997-03-02 06:32:42 +0000
commitae1fecd92ff5ca8a458e9aea38a1a8e34ce18932 (patch)
treefe42ae450fdb908fec487ec8ec504391c270c6bc /sbin/ping/ping.8
parent4d22a4eaa41eb8752410af0ae776ec87a874cc35 (diff)
downloadFreeBSD-src-ae1fecd92ff5ca8a458e9aea38a1a8e34ce18932.zip
FreeBSD-src-ae1fecd92ff5ca8a458e9aea38a1a8e34ce18932.tar.gz
1) Fix usage to match convention and manual. Fix manual to match usage.
2) Must be root to run preload (OpenBSD ping.c 1.8) 3) Don't print all replies unless verbose and root (from idea in OpenBSD ping.c 1.10 and 1.11) to avoid leaking information available only to root. 4) Remove unused h: from option string to getopt. 5) Make the compiler happy with exit(0) (Lite-2?) Reviewed by: Dan Cross <tenser@spitfire.ecsel.psu.edu> Good candidate for 2.2 and 2.1 (as are many of the 1.17 changes).
Diffstat (limited to 'sbin/ping/ping.8')
-rw-r--r--sbin/ping/ping.813
1 files changed, 9 insertions, 4 deletions
diff --git a/sbin/ping/ping.8 b/sbin/ping/ping.8
index c42272c..11199b5 100644
--- a/sbin/ping/ping.8
+++ b/sbin/ping/ping.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ping.8 8.2 (Berkeley) 12/11/93
-.\" $Id: ping.8,v 1.7 1997/02/22 14:33:06 peter Exp $
+.\" $Id: ping.8,v 1.8 1997/03/01 20:19:18 wollman Exp $
.\"
.Dd March 1, 1997
.Dt PING 8
@@ -42,15 +42,20 @@
packets to network hosts
.Sh SYNOPSIS
.Nm ping
-.Op Fl adfnqrvLRQ
+.Op Fl QRadfnqrv
.Op Fl c Ar count
.Op Fl i Ar wait
-.Op Fl I Ar interface
.Op Fl l Ar preload
.Op Fl p Ar pattern
.Op Fl s Ar packetsize
-.Op Fl T Ar ttl
+[
.Ar host
+|
+.Op Fl L
+.Op Fl I Ar interface
+.Op Fl T Ar ttl
+.Ar mcast-group
+]
.Sh DESCRIPTION
.Nm Ping
uses the
OpenPOWER on IntegriCloud