Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _mii-tool
- X-seq: zsh-workers 20941
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _mii-tool
- Date: Sun, 6 Mar 2005 22:12:29 -0500
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Index: Completion/Linux/Command/_mii-tool
===================================================================
RCS file: Completion/Linux/Command/_mii-tool
diff -N Completion/Linux/Command/_mii-tool
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Completion/Linux/Command/_mii-tool 7 Mar 2005 03:11:55 -0000
@@ -0,0 +1,12 @@
+#compdef mii-tool
+
+_arguments \
+ '(-V --version)'{-V,--version}'[version]' \
+ '(-v --verbose)'{-v,--verbose}'[verbose]' \
+ '(-R --reset)'{-R,--reset}'[reset MII to poweron state]' \
+ '(-r --restart)'{-r,--restart}'[restart autonegotiation]' \
+ '(-w --watch)'{-w,--watch}'[monitor for link status changes]' \
+ '(-l --log)'{-l,--log}'[write events to syslog]' \
+ '(-A --advertise)'{-A,--advertise=}'[advertise only specified media]:media:_values -s , 100baseT4 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD 100baseTx 10baseT' \
+ '(-F --force)'{-F,--force=}'[force specified medium]:medium:(100baseT4 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD 100baseTx 10baseT)' \
+ '*:interface:_net_interfaces'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author