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:
parent
fa16a6e1b1
commit
061026bfd4
@ -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.
|
||||
|
||||
|
9
Completion/Unix/Command/_knock
Normal file
9
Completion/Unix/Command/_knock
Normal file
@ -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'
|
Loading…
Reference in New Issue
Block a user