Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/wiconfig Don't hardcode like "[ -v 1|2|3|4 ]".



details:   https://anonhg.NetBSD.org/src/rev/8a769182df82
branches:  trunk
changeset: 494186:8a769182df82
user:      enami <enami%NetBSD.org@localhost>
date:      Mon Jul 03 08:31:22 2000 +0000

description:
Don't hardcode like "[ -v 1|2|3|4 ]".

diffstat:

 usr.sbin/wiconfig/wiconfig.8 |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r d05b1b590bf8 -r 8a769182df82 usr.sbin/wiconfig/wiconfig.8
--- a/usr.sbin/wiconfig/wiconfig.8      Mon Jul 03 08:20:58 2000 +0000
+++ b/usr.sbin/wiconfig/wiconfig.8      Mon Jul 03 08:31:22 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wiconfig.8,v 1.6 2000/06/28 10:07:05 onoe Exp $
+.\"    $NetBSD: wiconfig.8,v 1.7 2000/07/03 08:31:22 enami Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999
 .\"    Bill Paul <wpaul%ctr.columbia.edu@localhost> All rights reserved.
@@ -43,7 +43,10 @@
 .Ar interface
 .Op Fl o
 .Op Fl e Ar 0|1
-.Op Fl k Ar key "[ -v 1|2|3|4 ]"
+.Oo
+.Fl k Ar key
+.Op Fl v Ar 1|2|3|4
+.Oc
 .Op Fl t Ar tx rate
 .Op Fl n Ar network name
 .Op Fl s Ar station name
@@ -99,7 +102,9 @@
 (encryption disabled) or
 .Ar 1
 (encryption enabled). Encryption is off by default.
-.It Fl k Ar key "[ -v 1|2|3|4 ]"
+.It Fl k Ar key Xo
+.Op Fl v Ar 1|2|3|4
+.Xc
 Set WEP encryption keys. There are four default encryption keys that can be
 programmed. A specific key can be set using the
 .Fl v



Home | Main Index | Thread Index | Old Index