about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_spamassassin15
3 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b3ace725..a5fa53633 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-09  Clint Adams  <clint@zsh.org>
+
+	* 16315: Completion/Unix/Command/.distfiles,
+	Completion/Unix/Command/_spamassassin: completion for
+	spamassassin.
+
 2001-12-07  Peter Stephenson  <pws@csr.com>
 
 	* 16310: Functions/Misc/zcalc, Doc/Zsh/contrib.yo: separate zcalc
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index f8ac246e0..f5b153c99 100644
--- a/Completion/Unix/Command/.distfiles
+++ b/Completion/Unix/Command/.distfiles
@@ -15,5 +15,5 @@ _dd           _gprof        _lynx         _perldoc      _telnet       _pine
 _dict         _grep         _lzop         _prcs         _tiff         _elm
 _diff         _gs           _make         _psutils      _tin	_apm  _mail
 _last         _loadkeys     _modutils     _ruby         _sysctl _links _samba
-_user_admin   _rsync        _arping
+_user_admin   _rsync        _arping	  _spamassassin
 '
diff --git a/Completion/Unix/Command/_spamassassin b/Completion/Unix/Command/_spamassassin
new file mode 100644
index 000000000..1993c343c
--- /dev/null
+++ b/Completion/Unix/Command/_spamassassin
@@ -0,0 +1,15 @@
+#compdef spamassassin
+
+_arguments \
+    '-P[pipe to STDOUT]' \
+    '-e[error code on spam]' \
+    '-h[help]' \
+    '-t[test mode]' \
+    '-r[report message as verified spam]' \
+    '-w[set from addr of reply mail]:fromaddr:_user_at_host' \
+    '-l[log to file]:filename:_files' \
+    '-L[perform only local tests]' \
+    '-d[remove SpamAssassin markup]' \
+    '-c[config]:config file:_files' \
+    '-p[score preferences]:preference file:_files' \
+    '-D[diagnostic output'