summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_antiword16
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 00677e14c..dd1b20142 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-15 Doug Kearns <djkea2@mugca.its.monash.edu.au>
+
+ * 18351: Completion/Unix/Command/_antiword: new completion for
+ antiword
+
2003-03-13 Oliver Kiddle <opk@zsh.org>
* 18347: Completion/Base/Utility/_alternative: fix problems
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 4dc10cfe7..da774ef25 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -19,5 +19,5 @@ _user_admin _rsync _arping _spamassassin _mtools _ifconfig
_fsh _chkconfig _cdcd _irssi _mysqldiff _sccs
_netcat _larch _texinfo _figlet _elinks _tidy
_global _global_tags _ant _lsof _mt _xmlsoft
-_perforce _python
+_perforce _python _antiword
'
diff --git a/Completion/Unix/Command/_antiword b/Completion/Unix/Command/_antiword
new file mode 100644
index 000000000..2f99593e4
--- /dev/null
+++ b/Completion/Unix/Command/_antiword
@@ -0,0 +1,16 @@
+#compdef antiword
+
+# Version: 0.33 (05 Jul 2002)
+
+_arguments -s -S \
+ '(-p)-t[text output (default)]' \
+ '(-t -w)-p+[PostScript output]:paper size:(10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid)' \
+ '-m+[character mapping file]:mapping file:_files' \
+ '(-p)-w+[width in characters of text output]:line width:' \
+ '(-t -w)-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)-L[use landscape mode (PostScript only)]' \
+ '-s[show hidden (by Word) text]' \
+ '(* -)-h[give a help message]' \
+ '*:MS Word file:_files -g \*.doc' && return
+
+return 1