summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-02-18 21:20:09 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-02-18 21:20:09 +0000
commit5c48e3a6fa073d17969273e87016c972cd6bf009 (patch)
treec6c587359673054fb78e22e642ae6b1fa6b8c083 /usr.sbin
parentf7ec66672fdc9b0e2a74c3e46e2580a247c8d771 (diff)
tidy up synopsis and usage; from Igor Sobrado
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pppd/pppstats/pppstats.810
-rw-r--r--usr.sbin/pppd/pppstats/pppstats.c6
2 files changed, 6 insertions, 10 deletions
diff --git a/usr.sbin/pppd/pppstats/pppstats.8 b/usr.sbin/pppd/pppstats/pppstats.8
index 24508e2c4ef..72a2f63500c 100644
--- a/usr.sbin/pppd/pppstats/pppstats.8
+++ b/usr.sbin/pppd/pppstats/pppstats.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pppstats.8,v 1.9 2003/06/12 12:59:52 jmc Exp $
+.\" $OpenBSD: pppstats.8,v 1.10 2007/02/18 21:20:08 jmc Exp $
.\"
.\" Contributed by Van Jacobson (van@ee.lbl.gov), Dec 31, 1989.
.\"
@@ -37,13 +37,9 @@
.Nd report statistics for the specified PPP interface
.Sh SYNOPSIS
.Nm pppstats
-.Op Fl v
-.Op Fl r
-.Op Fl z
-.Op Fl a
-.Op Fl d
+.Op Fl adrvz
.Op Fl c Ar count
-.Op Fl w Ar secs
+.Op Fl w Ar wait
.Op Ar interface
.Sh DESCRIPTION
The
diff --git a/usr.sbin/pppd/pppstats/pppstats.c b/usr.sbin/pppd/pppstats/pppstats.c
index 5c1f06a95ec..3c5923e23a1 100644
--- a/usr.sbin/pppd/pppstats/pppstats.c
+++ b/usr.sbin/pppd/pppstats/pppstats.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppstats.c,v 1.8 2002/06/18 17:29:05 deraadt Exp $ */
+/* $OpenBSD: pppstats.c,v 1.9 2007/02/18 21:20:08 jmc Exp $ */
/*
* print PPP statistics:
@@ -51,7 +51,7 @@
#if 0
static char rcsid[] = "Id: pppstats.c,v 1.22 1998/03/31 23:48:03 paulus Exp $";
#else
-static char rcsid[] = "$OpenBSD: pppstats.c,v 1.8 2002/06/18 17:29:05 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: pppstats.c,v 1.9 2007/02/18 21:20:08 jmc Exp $";
#endif
#endif
@@ -96,7 +96,7 @@ usage()
extern char *__progname;
fprintf(stderr,
- "Usage: %s [-adrvz] [-c count] [-w wait] [interface]\n",
+ "usage: %s [-adrvz] [-c count] [-w wait] [interface]\n",
__progname);
exit(1);
}