From 113b69f1f3f6a60ef0121b6371da341b857cc9e3 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 17 Feb 2003 15:59:58 +0000 Subject: Doug Kearns: 18246: minor update to _elinks and trivial fixes for _ant/_java --- ChangeLog | 6 ++++++ Completion/Unix/Command/_ant | 2 +- Completion/Unix/Command/_elinks | 39 ++++++++++++++++++++------------------- Completion/Unix/Command/_java | 2 +- 4 files changed, 28 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4bd120f80..82479a354 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-17 Oliver Kiddle + + * 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 + 2003-02-08 Clint Adams * 18207: Src/Builtins/rlimits.c: add maxfilelocks to ulimit output. diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant index 5edc6dd63..473fdf33c 100644 --- a/Completion/Unix/Command/_ant +++ b/Completion/Unix/Command/_ant @@ -6,7 +6,7 @@ local target='*:target:->target' _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..584a3cfe0 100644 --- a/Completion/Unix/Command/_elinks +++ b/Completion/Unix/Command/_elinks @@ -1,29 +1,30 @@ #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)' \ - '*-base-session[Clone session with given ID]:ID number:' \ - '*-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:' \ - '(- 1)-'{\?,h,help}'[Print usage help and exit]' \ - '(- 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)' \ - '*-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)' \ - '(- 1)-version[Print version information and exit]' \ + '*-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:' \ + '*-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:' \ + '(- 1)-'{\?,h,help}'[print usage help and exit]' \ + '(- 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)" \ + '*-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)' \ + '(- 1)-version[print version information and exit]' \ '1:url:->url' && return if [[ "$state" = url ]]; then diff --git a/Completion/Unix/Command/_java b/Completion/Unix/Command/_java index b7b012894..5f78bb05a 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 ;; -- cgit 1.4.1