about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/.distfiles2
-rw-r--r--Completion/Unix/Command/_spamassassin15
2 files changed, 16 insertions, 1 deletions
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'