zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _knock
@ 2005-03-07  3:02 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-03-07  3:02 UTC (permalink / raw)
  To: zsh-workers

I'm putting this in Unix even though there appears to be a Win32
knock.exe.

Index: Completion/Unix/Command/_knock
===================================================================
RCS file: Completion/Unix/Command/_knock
diff -N Completion/Unix/Command/_knock
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_knock	7 Mar 2005 03:02:23 -0000
@@ -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'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-07  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-07  3:02 PATCH: _knock Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).