mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
10 lines
304 B
Plaintext
10 lines
304 B
Plaintext
#compdef knock
|
|
|
|
_arguments \
|
|
'(-u --udp)'{-u,--udp}'[UDP mode]' \
|
|
'(-v --verbose)'{-v,--verbose}'[verbose]' \
|
|
'(-V --version -h --help -u --udp -v --verbose)'{-V,--version}'[display version]' \
|
|
'(-h --help -u --udp -v --verbose -V --version)'{-h,--help}'[help]' \
|
|
'1:host:_hosts' \
|
|
'*:port:_ports'
|