From 40f651019666eba2c3c8a53055f16d28f6ed9385 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 18 Jul 2001 07:06:59 +0000 Subject: add support for -R option (15402) --- Completion/Unix/Command/_cvs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Completion/Unix/Command/_cvs') 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]' \ -- cgit 1.4.1