about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_getmail16
2 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index a56df9b9d..f1a38d168 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-21  Clint Adams  <clint@zsh.org>
+
+	* 23116: arno: Completion/Unix/Command/_getmail:
+	strip out erroneous commas.
+
 2007-01-19  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 23115: Doc/Zsh/grammar.yo, Src/lex.c, Src/loop.c, Src/parse.c,
diff --git a/Completion/Unix/Command/_getmail b/Completion/Unix/Command/_getmail
index e7c83bee3..8d6114e4d 100644
--- a/Completion/Unix/Command/_getmail
+++ b/Completion/Unix/Command/_getmail
@@ -11,17 +11,19 @@ _getmail_confiles() {
 local -a arguments
     arguments=(
         '--version[show version]'
-        '(--help,-h)'{--help,-h}'[display help]'
-        '(--getmaildir,-g)'{--getmaildir=,-g+}'[specify config/data directory]:config directory:_directories'
+        '(--help -h)'{--help,-h}'[display help]'
+        '(--getmaildir -g)'{--getmaildir=,-g+}'[specify config/data directory]:config directory:_directories'
         \*{--rcfile=,-r+}'[specify configuration file]:config file:_getmail_confiles'
         '--dump[dump configuration]'
         '--trace[print extended information]'
         '*:files:_files'
         \*{--verbose,-v}'[verbose mode]'
-        '(--quiet,-q)'{--quiet,-q}'[silent mode]'
-        '(--delete,-d,--dont-delete,-l)'{--delete,-d}'[delete messages from server]'
-        '(--delete,-d,--dont-delete,-l)'{--dont-delete,-l}"[don't delete messages from server]"
-        '(--new,-n,--all,-a)'{--all,-a}'[retrieve all messages]'
-        '(--new,-n,--all,-a)'{--new,-n}'[retrieve only new messages]'
+        '(--quiet -q)'{--quiet,-q}'[silent mode]'
+        '(--delete -d --dont-delete -l)'{--delete,-d}'[delete messages from server]'
+        '(--delete -d --dont-delete -l)'{--dont-delete,-l}"[don't delete messages from server]"
+        '(--new -n --all -a)'{--all,-a}'[retrieve all messages]'
+        '(--new -n --all -a)'{--new,-n}'[retrieve only new messages]'
     )
 _arguments -s -S $arguments
+
+# vim: se ft=zsh tw=80: