1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
zsh/Completion/Unix/Command/_knock

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'