* PATCH: elinks completion update
@ 2003-02-16 6:49 Doug Kearns
0 siblings, 0 replies; 2+ messages in thread
From: Doug Kearns @ 2003-02-16 6:49 UTC (permalink / raw)
To: zsh-workers
Here's a minor update of _elinks for elinks version 0.4.2 and a couple
of trivial fixes for _ant and _java.
Regards,
Doug
Index: Completion/Unix/Command/_ant
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_ant,v
retrieving revision 1.4
diff -u -r1.4 _ant
--- Completion/Unix/Command/_ant 7 Jan 2003 08:49:53 -0000 1.4
+++ Completion/Unix/Command/_ant 16 Feb 2003 06:26:58 -0000
@@ -15,7 +15,7 @@
_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]' \
Index: Completion/Unix/Command/_elinks
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_elinks,v
retrieving revision 1.1
diff -u -r1.1 _elinks
--- Completion/Unix/Command/_elinks 27 Jan 2003 10:35:47 -0000 1.1
+++ Completion/Unix/Command/_elinks 16 Feb 2003 06:26:59 -0000
@@ -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 @@
'(- 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
Index: Completion/Unix/Command/_java
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_java,v
retrieving revision 1.8
diff -u -r1.8 _java
--- Completion/Unix/Command/_java 24 Aug 2002 19:19:14 -0000 1.8
+++ Completion/Unix/Command/_java 16 Feb 2003 06:27:00 -0000
@@ -20,7 +20,7 @@
'-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
;;
^ permalink raw reply [flat|nested] 2+ messages in thread
* PATCH: elinks completion update
@ 2004-01-10 13:22 Doug Kearns
0 siblings, 0 replies; 2+ messages in thread
From: Doug Kearns @ 2004-01-10 13:22 UTC (permalink / raw)
To: zsh-workers
Here's an update of _elinks for version 0.9.0.
Regards,
Doug
Index: Completion/Unix/Command/_elinks
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_elinks,v
retrieving revision 1.5
diff -u -r1.5 _elinks
--- Completion/Unix/Command/_elinks 28 Nov 2003 06:24:14 -0000 1.5
+++ Completion/Unix/Command/_elinks 10 Jan 2004 13:17:46 -0000
@@ -1,6 +1,6 @@
#compdef elinks
-# ELinks 0.4.2 - Text WWW browser
+# ELinks 0.9.0 - Text WWW browser
local curcontext="$curcontext" state line
typeset -A opt_args
@@ -9,6 +9,8 @@
'*-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:' \
+ '*-confdir[set config dir to given string]:configuration directory:_files -/' \
+ '*-conffile[configuration file name]:configuration file:_files' \
'*-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:' \
@@ -24,6 +26,7 @@
'*-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)' \
+ '*-no-numbering[do not number links in dump output]::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' && ret=0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-10 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-16 6:49 PATCH: elinks completion update Doug Kearns
2004-01-10 13:22 Doug Kearns
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).