diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2001-05-10 09:19:33 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2001-05-10 09:19:33 +0000 |
commit | 7eb1577bd16502b1dc33097ad52a2514bc306e6d (patch) | |
tree | 4fc5809e3335de6f7ffa069bca154c876b62d997 | |
parent | 2c38f5bba18ce5a17e3598cc8abc5696b2320529 (diff) | |
download | zsh-7eb1577bd16502b1dc33097ad52a2514bc306e6d.tar.gz zsh-7eb1577bd16502b1dc33097ad52a2514bc306e6d.tar.xz zsh-7eb1577bd16502b1dc33097ad52a2514bc306e6d.zip |
* 14295: Completion/Unix/Command/_cvs: support new cvs subcommands
`rannotate' and `rlog' introduced by cvs-1.11.1.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_cvs | 33 |
2 files changed, 36 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 4c46881a6..33d2d7f5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-10 Tanaka Akira <akr@zsh.org> + + * 14295: Completion/Unix/Command/_cvs: support new cvs subcommands + `rannotate' and `rlog' introduced by cvs-1.11.1. + 2001-05-10 Sven Wischnowsky <wischnow@zsh.org> * 14293: Src/Zle/computil.c: barf if a empty string is given as diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs index f649aa8e7..e46c2f0b5 100644 --- a/Completion/Unix/Command/_cvs +++ b/Completion/Unix/Command/_cvs @@ -78,7 +78,7 @@ _cvs_add () { (( $+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 @@ _cvs_admin () { '-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 @@ _cvs_annotate () { '*: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" @@ -389,6 +401,23 @@ _cvs_log () { '*: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] )) || _cvs_login () { false |