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

_cvs updates for cvs-1.11.1.



This updates _cvs for cvs-1.11.1.

* The argument of `cvs admin -e' is optional since cvs-1.11.
* cvs-1.11.1 has new subcommands rannotate and rlog.

Index: Completion/Unix/Command/_cvs
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_cvs,v
retrieving revision 1.2
diff -u -r1.2 _cvs
--- Completion/Unix/Command/_cvs	2001/05/04 17:16:56	1.2
+++ Completion/Unix/Command/_cvs	2001/05/10 09:14:29
@@ -78,7 +78,7 @@
 
 (( $+functions[_cvs_admin] )) ||
 _cvs_admin () {
-  # "+ib::c:a:A:e:l::u::LUn:N:m:o:s:t::IqxV:k:"
+  # "+ib::c:a:A:e::l::u::LUn:N:m:o:s:t::IqxV:k:"
   _arguments -s \
     -{i,x} \
     '(-U)-L[set lock strict]' \
@@ -89,7 +89,7 @@
     '-c+:comment leader (not used):' \
     '-a+:login names (not work with CVS):' \
     '-A+:access list to append (not work with CVS):' \
-    '-e+:access list to erase (not work with CVS):' \
+    '-e-:access list to erase (not work with CVS):' \
     '-l-[lock]:revision to lock:' \
     '-u-[unlock]:revision to unlock:' \
     '-n+[name revision]:symbolic-name(\:revision):' \
@@ -124,6 +124,18 @@
     '*:file:_cvs_files'
 }
 
+(( $+functions[_cvs_rannotate] )) ||
+_cvs_rannotate () {
+  # "+lr:D:fR"
+  _arguments -s \
+    '(-R)-l[don'\''t recursive]' \
+    '-f[use head revision]' \
+    '(-l)-R[recursive]' \
+    '(-f -D)-r+[specify revision]:tag:_cvs_revisions' \
+    '(-f -r)-D+[specify date]:date:_cvs_D' \
+    '*:file:_cvs_modules'
+}
+
 (( $+functions[_cvs_checkout] )) ||
 _cvs_checkout () {
   # "+ANnk:d:flRpQqcsr:D:j:P"
@@ -387,6 +399,23 @@
     '-s+[specify states]:states:(Exp Stab Rel dead)' \
     '-w-[specify logins]:logins:' \
     '*:file:_cvs_files'
+}
+
+(( $+functions[_cvs_rlog] )) ||
+_cvs_rlog () {
+  # "+bd:hlNRr::s:tw::"
+  _arguments -s \
+    '-b[default branch]' \
+    '(-t)-h[header]' \
+    '(-R)-l[don'\''t recursive]' \
+    '(-l)-R[recursive]' \
+    '-N[don'\''t list tags]' \
+    '(-h)-t[header with descriptive text]' \
+    '-d+[specify dates]:dates:' \
+    '-r-[specify revisions]:revisions:' \
+    '-s+[specify states]:states:(Exp Stab Rel dead)' \
+    '-w-[specify logins]:logins:' \
+    '*:file:_cvs_modules'
 }
 
 (( $+functions[_cvs_login] )) ||
-- 
Tanaka Akira



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