diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-18 07:06:59 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-07-18 07:06:59 +0000 |
| commit | 40f651019666eba2c3c8a53055f16d28f6ed9385 (patch) | |
| tree | 06886bb48397fc19127d5a07acc850eb036933aa | |
| parent | use colon separator for BSD (15393) (diff) | |
| download | zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.tar zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.tar.gz zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.tar.bz2 zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.tar.lz zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.tar.xz zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.tar.zst zsh-40f651019666eba2c3c8a53055f16d28f6ed9385.zip | |
add support for -R option (15402)
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | Completion/Unix/Command/_cvs | 9 |
2 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2001-07-18 Sven Wischnowsky <wischnow@zsh.org> + + * 15402 (Akinora Musha): Completion/Unix/Command/_cvs: add + support for -R option on BSDs + 2001-07-17 Oliver Kiddle <opk@zsh.org> * 15393 (Akinori Musha): Completion/Unix/Command/_chown: use diff --git a/Completion/Unix/Command/_cvs b/Completion/Unix/Command/_cvs index b25a2fd45..691407356 100644 --- a/Completion/Unix/Command/_cvs +++ b/Completion/Unix/Command/_cvs @@ -3,8 +3,17 @@ # redefine _cvs. _cvs () { + local extra + # "+Qqrwtnlvb:T:e:d:Hfz:s:xa" + case $OSTYPE in + freebsd*|openbsd*) + extra='-R[read only access]' + ;; + esac + _arguments -s \ + $extra \ '-a[authenticate]' \ '-f[disable .cvsrc]' \ '(-n)-l[disable logging]' \ |
