summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-01-13 02:01:40 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-01-13 02:01:40 +0000
commit86a58f19a3c1422e0732effd2faaf64c5b6e8337 (patch)
tree6f9514d57078207f53ed2640217525655ec8dac6 /sbin
parent1a571c55179b614e2b0a1af0bb9b7603ebfaa191 (diff)
Document ability to display all interfaces of given type by omitting unit
number.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.89
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 4b474a8baca..c18e50611bf 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.76 2003/12/16 11:14:25 jmc Exp $
+.\" $OpenBSD: ifconfig.8,v 1.77 2004/01/13 02:01:39 mcbride Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -166,6 +166,13 @@ parameter is a string of the form
.Dq name unit ,
for example,
.Dq en0 .
+If no optional parameters are supplied, this string may also be of the form
+.Dq name .
+In this case, all interfaces of that type will be displayed. For example,
+.Dq carp
+will display the current configuration of all
+.Xr carp
+interfaces.
.El
.Pp
The following parameters may be set with