summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-05-02 10:07:20 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-05-02 10:07:20 +0000
commit94f45d04c266c650a5c6ccfbd80615394c5f7e09 (patch)
treebb89ae82c3d763efd0a875755881aaa0d662c30f
parent739fda9c9f2db77b1c332f87bb81ceb05062939e (diff)
- add a small description of final synopsis form
- tweak a spacing issue in usage()
-rw-r--r--usr.bin/netstat/main.c6
-rw-r--r--usr.bin/netstat/netstat.14
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c
index 995f8af4c7c..5d3d96a90bb 100644
--- a/usr.bin/netstat/main.c
+++ b/usr.bin/netstat/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.56 2005/04/12 14:11:49 reyk Exp $ */
+/* $OpenBSD: main.c,v 1.57 2005/05/02 10:07:19 jmc Exp $ */
/* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */
/*
@@ -40,7 +40,7 @@ char copyright[] =
#if 0
static char sccsid[] = "from: @(#)main.c 8.4 (Berkeley) 3/1/94";
#else
-static char *rcsid = "$OpenBSD: main.c,v 1.56 2005/04/12 14:11:49 reyk Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.57 2005/05/02 10:07:19 jmc Exp $";
#endif
#endif /* not lint */
@@ -630,6 +630,6 @@ usage(void)
(void)fprintf(stderr,
" %s [-a] [-f address_family] [-i | -I interface]\n", __progname);
(void)fprintf(stderr,
-" %s [-W interface]\n", __progname);
+" %s [-W interface]\n", __progname);
exit(1);
}
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 5c3fe22016e..1cd1e7db527 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netstat.1,v 1.42 2005/04/12 14:11:49 reyk Exp $
+.\" $OpenBSD: netstat.1,v 1.43 2005/05/02 10:07:19 jmc Exp $
.\" $NetBSD: netstat.1,v 1.11 1995/10/03 21:42:43 thorpej Exp $
.\"
.\" Copyright (c) 1983, 1990, 1992, 1993
@@ -85,6 +85,8 @@ traffic on the configured network interfaces.
The fourth form displays statistics about the named protocol.
The fifth form displays per interface statistics for
the specified address family.
+The final form displays per interface statistics for
+the specified wireless (802.11) device.
.Pp
The options are as follows:
.Bl -tag -width Ds