diff options
author | brooks <brooks@FreeBSD.org> | 2001-06-26 00:12:58 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2001-06-26 00:12:58 +0000 |
commit | 10ed2459c3808d44881f969bab337e51692baca1 (patch) | |
tree | f1ed23a7276ed088c497a1aff8ae70747a652ec6 /usr.sbin/wicontrol/wicontrol.c | |
parent | 0de02e9c21d182c5294eef5a4e058b460fa6419e (diff) | |
download | FreeBSD-src-10ed2459c3808d44881f969bab337e51692baca1.zip FreeBSD-src-10ed2459c3808d44881f969bab337e51692baca1.tar.gz |
Actually implement -a as documented since import (set access point density).
Remove documentation for short-lived usage as "print keys in ASCII."
PR: bin/21803
MFC after: 1 week
Diffstat (limited to 'usr.sbin/wicontrol/wicontrol.c')
-rw-r--r-- | usr.sbin/wicontrol/wicontrol.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/wicontrol/wicontrol.c b/usr.sbin/wicontrol/wicontrol.c index 17c4a97..0cb76ab 100644 --- a/usr.sbin/wicontrol/wicontrol.c +++ b/usr.sbin/wicontrol/wicontrol.c @@ -715,7 +715,7 @@ int main(argc, argv) opterr = 1; while((ch = getopt(argc, argv, - "hoc:d:e:f:i:k:p:r:q:t:n:s:m:v:P:S:T:ZC")) != -1) { + "a:hoc:d:e:f:i:k:p:r:q:t:n:s:m:v:P:S:T:ZC")) != -1) { switch(ch) { case 'Z': #ifdef WICACHE @@ -797,6 +797,10 @@ int main(argc, argv) wi_setword(iface, WI_RID_PM_ENABLED, atoi(optarg)); exit(0); break; + case 'a': + wi_setword(iface, WI_RID_SYSTEM_SCALE, atoi(optarg)); + exit(0); + break; case 'v': modifier = atoi(optarg); modifier--; |