summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_ant2
-rw-r--r--Completion/Unix/Command/_elinks19
-rw-r--r--Completion/Unix/Command/_java2
3 files changed, 12 insertions, 11 deletions
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
;;