about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_bogofilter9
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d16395fb2..484f27572 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 	* 20626: Completion/Unix/Command/_baz: completion
 	derived from _tla by Matt Zimmerman.
 
+	* 20627: Completion/Unix/Command/_bogofilter:
+	updated completion for newer bogoutil.
+
 2004-12-10  Andrey Borzenkov  <bor@zsh.org>
 
 	* 20617: Completion/Linux/Command/_modutils: fix
diff --git a/Completion/Unix/Command/_bogofilter b/Completion/Unix/Command/_bogofilter
index 9f53c75bf..3e73d5d26 100644
--- a/Completion/Unix/Command/_bogofilter
+++ b/Completion/Unix/Command/_bogofilter
@@ -27,9 +27,14 @@ _bogofilter() {
   	'-m[perform maintenance functions]' \
   	'-w[display token information]:database file or directory:_files' \
   	'-p[display token probability information]:database file or directory:_files' \
+	'-C[verify database]:database:_files -/' \
   	'-H[print histogram]' \
-  	'(-R)-r[recalculate ROBX]' \
-  	'(-r)-R[recalculate and save ROBX]' \
+  	'(-f -F -P -R)-r[recalculate ROBX]:database:_files -/' \
+  	'(-f -F -P -r)-R[recalculate and save ROBX]:database:_files -/' \
+	'(-F -P -r -R)-f[run regular recovery]:database:_files -/' \
+	'(-f -P -r -R)-F[run catastrophic recovery]:database:_files -/' \
+	'(-f -F -r -R)-P[checkpoint database]:database:_files -/' \
+	'(-f -F -r -R -P)--remove-environment:database:_files -/' \
   	'-h[help]' \
   	'-V[version]' \
   	'*:tokens:->tokens' && ret=0