summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-02-17 10:20:24 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-02-17 10:20:24 +0000
commit070db3c6789f299ac6603cf8363ff92970b64631 (patch)
treebf1ff0d668f0c1754ff092c2bc373cfb687877c0
parent5164c6a3c92bf4e696709947ae991cdf534d20a0 (diff)
downloadzsh-070db3c6789f299ac6603cf8363ff92970b64631.tar.gz
zsh-070db3c6789f299ac6603cf8363ff92970b64631.tar.xz
zsh-070db3c6789f299ac6603cf8363ff92970b64631.zip
18246: minor updates
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_ant2
-rw-r--r--Completion/Unix/Command/_elinks19
-rw-r--r--Completion/Unix/Command/_java2
4 files changed, 16 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 2047d689a..d7b957fb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2003-02-17  Oliver Kiddle  <opk@zsh.org>
 
+	* Doug Kearns: 18246: Completion/Unix/Command/_elinks,
+	Completion/Unix/Command/_ant, Completion/Unix/Command/_java:
+	minor update to _elinks and a couple of trivial fixes for java/ant
+
 	* 18242: Src/builtin.c, Completion/Zsh/Command/_read,
 	Doc/Zsh/builtins.yo: add -d option to read for specifying
 	delimiter to terminate input instead of newline
diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant
index d3d68eaed..ff973b37f 100644
--- a/Completion/Unix/Command/_ant
+++ b/Completion/Unix/Command/_ant
@@ -15,7 +15,7 @@ fi
 
 _arguments -C \
   '-help[display usage information]' \
-  '-projecthelp[print project hjelp information]' \
+  '-projecthelp[print project help information]' \
   '-version[display version information]' \
   '-diagnostics[display info useful to problem diagnosis]' \
   '(-q -quiet)'{-q,-quiet}'[be extra quiet]' \
diff --git a/Completion/Unix/Command/_elinks b/Completion/Unix/Command/_elinks
index fd10d7c39..52fdea5fa 100644
--- a/Completion/Unix/Command/_elinks
+++ b/Completion/Unix/Command/_elinks
@@ -1,15 +1,16 @@
 #compdef elinks
 
-# ELinks 0.4.1 - Text WWW browser
+# ELinks 0.4.2 - Text WWW browser
 
 local curcontext="$curcontext" state line
 typeset -A opt_args
 
 _arguments -C -A '-*' \
-  '*-anonymous[Restrict to anonymous mode]:boolean:(0 1)' \
-  '*-auto-submit[Autosubmit first form]:boolean:(0 1)' \
+  '*-anonymous[Restrict to anonymous mode]::boolean:(0 1)' \
+  '*-auto-submit[Autosubmit first form]::boolean:(0 1)' \
   '*-base-session[Clone session with given ID]:ID number:' \
-  '*-dump[Write formatted version of given URL to stdout]:boolean:(0 1)' \
+  '*-default-mime-type[MIME type to assume for documents]:MIME type:' \
+  '*-dump[Write formatted version of given URL to stdout]::boolean:(0 1)' \
   '*-dump-charset[Codepage to use with -dump]:codepage:' \
   '*-dump-width[Width of document formatted with -dump]:width:' \
   '*-eval[Evaluate given configuration option]:configuration option:' \
@@ -17,12 +18,12 @@ _arguments -C -A '-*' \
   '(- 1)-long-help[Print detailed usage help and exit]' \
   '(- 1)-config-help[Print help for configuration options]' \
   '(- 1)-lookup[Look up specified host]:host:_hosts' \
-  '*-no-connect[Run as separate instance]:boolean:(0 1)' \
-  '*-no-home[Don'"'"'t use files in ~/.elinks]:boolean:(0 1)' \
+  '*-no-connect[Run as separate instance]::boolean:(0 1)' \
+  '*-no-home[Don'"'"'t use files in ~/.elinks]::boolean:(0 1)' \
   '*-session-ring[Connect to session ring with given ID]:ID number:' \
-  '*-source[Write the source of given URL to stdout]:boolean:(0 1)' \
-  '(1)*-stdin[Read document from stdin]:boolean:(0 1)' \
-  '*-touch-files[Touch files in ~/.elinks when running with -no-connect/-session-ring]:boolean:(0 1)' \
+  '*-source[Write the source of given URL to stdout]::boolean:(0 1)' \
+  '(1)*-stdin[Read document from stdin]::boolean:(0 1)' \
+  '*-touch-files[Touch files in ~/.elinks when running with -no-connect/-session-ring]::boolean:(0 1)' \
   '(- 1)-version[Print version information and exit]' \
   '1:url:->url' && return
 
diff --git a/Completion/Unix/Command/_java b/Completion/Unix/Command/_java
index b2e204164..ff5ded202 100644
--- a/Completion/Unix/Command/_java
+++ b/Completion/Unix/Command/_java
@@ -20,7 +20,7 @@ javac)
     '-extdirs[specify directories for extensions]:extensions directories:->extdirs' \
     '-d[specify destination directory]:directory:_files -/' \
     '-encoding[specify character encoding for source files]:encoding:->encoding' \
-    '-target[specify VM version]:release:(1.1 1.2)' \
+    '-target[specify VM version]:release:(1.{1..4})' \
     '*:java source file:_files -g \*.java' && return 0
   ;;