summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-30 08:13:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-04-30 08:13:50 +0000
commite112a2b9890d94b8b81aed5a30c00c5dad1aa6df (patch)
tree17fbd82ccceab1c87fac75e5829d8c3cbc32d2cf
parentbc265380c3afcefec015f1ebe1d3da96d78bd611 (diff)
print usage right
-rw-r--r--sbin/wicontrol/wicontrol.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/wicontrol/wicontrol.c b/sbin/wicontrol/wicontrol.c
index 140264925b0..3f0b4b57424 100644
--- a/sbin/wicontrol/wicontrol.c
+++ b/sbin/wicontrol/wicontrol.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wicontrol.c,v 1.33 2002/04/11 19:48:04 millert Exp $ */
+/* $OpenBSD: wicontrol.c,v 1.34 2002/04/30 08:13:49 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -69,7 +69,7 @@
static const char copyright[] = "@(#) Copyright (c) 1997, 1998, 1999\
Bill Paul. All rights reserved.";
static const char rcsid[] =
- "@(#) $OpenBSD: wicontrol.c,v 1.33 2002/04/11 19:48:04 millert Exp $";
+ "@(#) $OpenBSD: wicontrol.c,v 1.34 2002/04/30 08:13:49 deraadt Exp $";
#endif
void wi_getval(char *, struct wi_req *);
@@ -720,9 +720,8 @@ usage()
extern char *__progname;
fprintf(stderr,
- "usage: %s interface [-ol]"
- " [-t tx rate] [-n network name] [-s station name]\n"
- " [-e 0|1] [-k key [-v 1|2|3|4]] [-T 1|2|3|4]\n"
+ "usage: %s [interface] [-ol] [-t tx rate] [-n network name]\n"
+ " [-s station name] [-e 0|1] [-k key [-v 1|2|3|4]] [-T 1|2|3|4]\n"
" [-c 0|1] [-q SSID] [-p port type] [-a access point density]\n"
" [-m MAC address] [-d max data length] [-r RTS threshold]\n"
" [-f frequency] [-M 0|1] [-P 0|1] [-S max sleep duration]\n"