Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

bug: yafc completion does not handle exclusive options



Hi,
I made an error in _yafc completion (zsh-workers 22908)
The same error as in _getmail by the way.

Here is a correction
arno.


Index: Completion/Unix/Command/_yafc
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_yafc,v
retrieving revision 1.1
diff -u -r1.1 _yafc
--- Completion/Unix/Command/_yafc	25 Oct 2006 13:13:23 -0000	1.1
+++ Completion/Unix/Command/_yafc	21 Jan 2007 15:12:00 -0000
@@ -6,19 +6,19 @@
     '(--anon -a)'{--anon,-a}'[Try an anonymous login]'
     '(--debug -d)'{--debug,-d}'[Print all messages to/from server]'
     '(--dump-rc -D)'{--dump-rc,-D}'[Print the default configuration file]'
-    '(--mechanism,-m)'{--mechanism=-,-m}'[specify a security mechanism]:security mechanism:(krb4, krb5, none)'
-    '(--norc,-n)'{--norc,-n}'[Do not read the users configuration file]'
-    '(--noproxy,-p)'{--noproxy,-p}'[Do not connect via the proxy]'
-    '(--quiet,-q)'{--quiet,-q}'[Do not print the welcome message]'
-    '(--rcfile,-r)'{--rcfile=-,-r}'[Specify a configuration file]:configuration file:_files'
-    '(--trace,-t)'{--trace=-,-t-}'[Specify a trace file]:trace file:_files'
-    '(--noauto,-u)'{--noauto,-u}'[Do not login automagically]'
-    '(--noalias,-U)'{--noalias,-U}'[As --noauto, but bookmark aliases is disabled]'
-    '(--verbose,-v)'{--verbose,-v}'[print all responses received]'
-    '(--wait,-w)'{--wait,-w=}'[Specify a waiting time between connection attempts]:wait time: '
-    '(--workdir,-W)'{--workdir=,-W+}'[Use a different working directory]:working directory:_directories'
-    '(--version,-V)'{--version,-V}'[Print version information]'
-    '(--help,-h)'{--help,-h}'[Print a short help description]'
+    '(--mechanism -m)'{--mechanism=-,-m}'[specify a security mechanism]:security mechanism:(krb4, krb5, none)'
+    '(--norc -n)'{--norc,-n}'[Do not read the users configuration file]'
+    '(--noproxy -p)'{--noproxy,-p}'[Do not connect via the proxy]'
+    '(--quiet -q)'{--quiet,-q}'[Do not print the welcome message]'
+    '(--rcfile -r)'{--rcfile=-,-r}'[Specify a configuration file]:configuration file:_files'
+    '(--trace -t)'{--trace=-,-t-}'[Specify a trace file]:trace file:_files'
+    '(--noauto -u)'{--noauto,-u}'[Do not login automagically]'
+    '(--noalias -U)'{--noalias,-U}'[As --noauto, but bookmark aliases is disabled]'
+    '(--verbose -v)'{--verbose,-v}'[print all responses received]'
+    '(--wait -w)'{--wait,-w=}'[Specify a waiting time between connection attempts]:wait time: '
+    '(--workdir -W)'{--workdir=,-W+}'[Use a different working directory]:working directory:_directories'
+    '(--version -V)'{--version,-V}'[Print version information]'
+    '(--help -h)'{--help,-h}'[Print a short help description]'
     '*:address:_yafc_address'
     )
 
@@ -42,3 +42,4 @@
 }
 
 _yafc "$@"
+# vim: se ft=zsh tw=80:

Attachment: signature.asc
Description: Digital signature



Messages sorted by: Reverse Date, Date, Thread, Author