1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

* 20940: Completion/Unix/Command/_knock: completion for knock command.

This commit is contained in:
Clint Adams 2005-03-07 03:07:05 +00:00
parent fa16a6e1b1
commit 061026bfd4
2 changed files with 12 additions and 0 deletions

@ -1,5 +1,8 @@
2005-03-07 Clint Adams <clint@zsh.org>
* 20940: Completion/Unix/Command/_knock: completion for knock
command.
* 20939: Completion/Unix/Command/_groff: completion for groff
command.

@ -0,0 +1,9 @@
#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'