about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-03-07 03:13:48 +0000
committerClint Adams <clint@users.sourceforge.net>2005-03-07 03:13:48 +0000
commit6d5ff606f546858de1c4b86eb9b9acad5ad947f8 (patch)
tree07c076266d3406dea6e447791e7bbb54b124ac91 /Completion
parent061026bfd419d3d78b1ea2ef44a198e41b8209c1 (diff)
downloadzsh-6d5ff606f546858de1c4b86eb9b9acad5ad947f8.tar.gz
zsh-6d5ff606f546858de1c4b86eb9b9acad5ad947f8.tar.xz
zsh-6d5ff606f546858de1c4b86eb9b9acad5ad947f8.zip
* 20941: Completion/Unix/Command/_mii-tool: completion for mii-tool command.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Linux/Command/_mii-tool12
1 files changed, 12 insertions, 0 deletions
diff --git a/Completion/Linux/Command/_mii-tool b/Completion/Linux/Command/_mii-tool
new file mode 100644
index 000000000..cf16ca49c
--- /dev/null
+++ b/Completion/Linux/Command/_mii-tool
@@ -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'