about summary refs log tree commit diff
path: root/Completion/Unix/Command/_antiword
diff options
context:
space:
mode:
authorDoug Kearns <dkearns@users.sourceforge.net>2005-06-11 12:23:00 +0000
committerDoug Kearns <dkearns@users.sourceforge.net>2005-06-11 12:23:00 +0000
commitf4ec938d4a21c1356e0026dd446bf07ca260af23 (patch)
treec0dea379a8de9c2631cca8d7346bd812249da2b2 /Completion/Unix/Command/_antiword
parentbc86e2111b78482d9fffe744b75abef66bb9bdbf (diff)
downloadzsh-f4ec938d4a21c1356e0026dd446bf07ca260af23.tar.gz
zsh-f4ec938d4a21c1356e0026dd446bf07ca260af23.tar.xz
zsh-f4ec938d4a21c1356e0026dd446bf07ca260af23.zip
21321: update antiword completion for version 0.36
Diffstat (limited to 'Completion/Unix/Command/_antiword')
-rw-r--r--Completion/Unix/Command/_antiword24
1 files changed, 15 insertions, 9 deletions
diff --git a/Completion/Unix/Command/_antiword b/Completion/Unix/Command/_antiword
index 3091ee51d..445a3fab1 100644
--- a/Completion/Unix/Command/_antiword
+++ b/Completion/Unix/Command/_antiword
@@ -1,17 +1,23 @@
 #compdef antiword
 
-# Version: 0.35  (14 Nov 2003)
+# Version: 0.36.1  (09 Dec 2004)
+
+local papersizes
+
+papersizes=( 10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid )
 
 _arguments -s -S \
-  '(-i -L -p -x)-t[text output (default)]' \
-  '(-t -w -x)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \
-  '(-i -L -p -t -w)-x[XML output]:DTD:(db)' \
-  '-m+[character mapping file]:mapping file:_files' \
-  '(-i -L -p -x)-w+[width in characters of text output]:line width:' \
-  '(-t -w -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
-  '(-t -w -x)-L[use landscape mode (PostScript only)]' \
+  '(         -w    -f -p -t -x)-a+[Adobe PDF output]:paper size:(${papersizes[@]})' \
+  '(-i -L       -a    -p -t -x)-f[formatted text output]' \
+  '(         -w -a -f    -t -x)-p+[PostScript output]:paper size:(${papersizes[@]})' \
+  '(-i -L       -a -f -p    -x)-t[text output (default)]' \
+  '(-i -L -m -w -a -f -p -t   )-x+[XML output]:DTD:(db)' \
+  '(-x)-m+[character mapping file]:mapping file:_files' \
+  '(-i -L -a -p -x)-w+[width in characters of text output]:line width:' \
+  '(-w -f -t -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
+  '(-w -f -t -x)-L[use landscape mode (PostScript only)]' \
   '-s[show hidden (by Word) text]' \
-  '(* -)-h[give a help message]' \
+  '(- *)-h[display help information]' \
   '*:MS Word file:_files -g "*.doc(-.)"' && return
 
 return 1