about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-03-07 03:07:05 +0000
committerClint Adams <clint@users.sourceforge.net>2005-03-07 03:07:05 +0000
commit061026bfd419d3d78b1ea2ef44a198e41b8209c1 (patch)
tree5837ddfdcc9116488caf206c33494059ece1ade6 /Completion/Unix/Command
parentfa16a6e1b165d662b6baa2e3318d0243ed8b133c (diff)
downloadzsh-061026bfd419d3d78b1ea2ef44a198e41b8209c1.tar.gz
zsh-061026bfd419d3d78b1ea2ef44a198e41b8209c1.tar.xz
zsh-061026bfd419d3d78b1ea2ef44a198e41b8209c1.zip
* 20940: Completion/Unix/Command/_knock: completion for knock command.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_knock9
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_knock b/Completion/Unix/Command/_knock
new file mode 100644
index 000000000..3cf83e3c1
--- /dev/null
+++ b/Completion/Unix/Command/_knock
@@ -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'