about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-12-09 18:18:45 +0000
committerClint Adams <clint@users.sourceforge.net>2001-12-09 18:18:45 +0000
commit92c4da22baeffc92ac1be344effb058ecd070d4d (patch)
treea82292c435760160a1a8b918f73d9801490d11ca
parent1665c01ddbe7e0693fadc9610ab94c4e4875c097 (diff)
downloadzsh-92c4da22baeffc92ac1be344effb058ecd070d4d.tar.gz
zsh-92c4da22baeffc92ac1be344effb058ecd070d4d.tar.xz
zsh-92c4da22baeffc92ac1be344effb058ecd070d4d.zip
16315: completion for spamassassin
-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 c4a59bf0a..b3a08cb4e 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-11-29  Clint Adams  <clint@zsh.org>
 
         * 16293: Completion/Unix/Command/.distfiles,
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles
index 4560c1b41..90354e7cc 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
 _loadkeys     _modutils     _ruby         _samba        _sysctl       _links
-_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'