summaryrefslogtreecommitdiff
path: root/sbin/iwicontrol
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-11-23 21:33:25 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-11-23 21:33:25 +0000
commit118048991a7261b1d6365fd1302108bf3dcde2e2 (patch)
treece607930cd0e9301704125cc4fcdea3d4b5c72ba /sbin/iwicontrol
parentca42653b038b5265740536df83226853965ad9f7 (diff)
tweaks;
ok damien@
Diffstat (limited to 'sbin/iwicontrol')
-rw-r--r--sbin/iwicontrol/iwicontrol.813
-rw-r--r--sbin/iwicontrol/iwicontrol.c4
2 files changed, 9 insertions, 8 deletions
diff --git a/sbin/iwicontrol/iwicontrol.8 b/sbin/iwicontrol/iwicontrol.8
index 7f1eca8e371..6ed87e52a2d 100644
--- a/sbin/iwicontrol/iwicontrol.8
+++ b/sbin/iwicontrol/iwicontrol.8
@@ -1,4 +1,4 @@
-.\" $Id: iwicontrol.8,v 1.4 2004/11/22 21:34:28 damien Exp $
+.\" $OpenBSD: iwicontrol.8,v 1.5 2004/11/23 21:33:24 jmc Exp $
.\"
.\" Copyright (c) 2004
.\" Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
@@ -33,22 +33,23 @@
.Nd configure Intel(R) PRO/Wireless 2200BG/2915ABG network adapters
.Sh SYNOPSIS
.Nm
-.Op Ar interface
+.Op Fl i Ar interface
.Op Fl r
.Sh DESCRIPTION
The
.Nm
utility controls the operation of Intel(R) PRO/Wireless 2200BG/2915ABG
-networking devices via
+networking devices via the
.Xr iwi 4
driver.
.Pp
-You should not use this program to configure IEEE 802.11 parameters. Use
+You should not use this program to configure IEEE 802.11 parameters.
+Use
.Xr ifconfig 8
instead.
-.Sh OPTIONS
+.Pp
The options are as follows:
-.Bl -tag -width indent
+.Bl -tag -width "-i interfaceXX"
.It Fl i Ar interface
Displays adapter's internal statistics.
.It Fl r
diff --git a/sbin/iwicontrol/iwicontrol.c b/sbin/iwicontrol/iwicontrol.c
index 699837af25e..d4e1fb59621 100644
--- a/sbin/iwicontrol/iwicontrol.c
+++ b/sbin/iwicontrol/iwicontrol.c
@@ -1,4 +1,4 @@
-/* $Id: iwicontrol.c,v 1.6 2004/11/22 21:34:28 damien Exp $ */
+/* $Id: iwicontrol.c,v 1.7 2004/11/23 21:33:24 jmc Exp $ */
/*-
* Copyright (c) 2004
@@ -102,7 +102,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [interface] [-r]\n", __progname);
+ fprintf(stderr, "usage: %s [-i interface] [-r]\n", __progname);
exit(EX_USAGE);
}