mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-10-02 08:51:18 +02:00
* 20941: Completion/Unix/Command/_mii-tool: completion for mii-tool command.
This commit is contained in:
parent
061026bfd4
commit
6d5ff606f5
@ -1,5 +1,8 @@
|
|||||||
2005-03-07 Clint Adams <clint@zsh.org>
|
2005-03-07 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 20941: Completion/Unix/Command/_mii-tool: completion for mii-tool
|
||||||
|
command.
|
||||||
|
|
||||||
* 20940: Completion/Unix/Command/_knock: completion for knock
|
* 20940: Completion/Unix/Command/_knock: completion for knock
|
||||||
command.
|
command.
|
||||||
|
|
||||||
|
12
Completion/Linux/Command/_mii-tool
Normal file
12
Completion/Linux/Command/_mii-tool
Normal file
@ -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'
|
Loading…
Reference in New Issue
Block a user