mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
13 lines
748 B
Plaintext
13 lines
748 B
Plaintext
#compdef mii-tool
|
|
|
|
_arguments -s \
|
|
'(-V --version)'{-V,--version}'[display version information]' \
|
|
'(-v --verbose)'{-v,--verbose}'[verbose output]' \
|
|
'(-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]:medium:_values -s , medium 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'
|