- add 'annotate' to list of cvs commands that perform completion

This commit is contained in:
ianmacd 2002-04-18 13:55:50 +00:00
parent 93de69f1ce
commit 046009d2d6

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05a # bash_completion - some programmable completion functions for bash 2.05a
# #
# $Id: bash_completion,v 1.270 2002/04/18 15:29:56 ianmacd Exp $ # $Id: bash_completion,v 1.271 2002/04/18 15:55:50 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -795,7 +795,8 @@ _cvs()
@(commit|ci)) @(commit|ci))
mode=commit mode=commit
;; ;;
@(diff|@(ex|im)port|history|release|status|update)) @(annotate|diff|@(ex|im)port|history|release|status| \
update))
mode=$i mode=$i
;; ;;
?(r)log) ?(r)log)
@ -928,9 +929,9 @@ _cvs()
fi fi
;; ;;
"") "")
COMPREPLY=( $( compgen -W 'add admin checkout ci co commit \ COMPREPLY=( $( compgen -W 'add admin annotate checkout ci co \
diff delete export freeze get \ commit diff delete export freeze \
history import log new patch rcs \ get history import log new patch rcs\
rdiff release remove rfreeze rlog \ rdiff release remove rfreeze rlog \
rm rtag status tag update -H -Q -q \ rm rtag status tag update -H -Q -q \
-b -d -e -f -l -n -t -r -v -w -x \ -b -d -e -f -l -n -t -r -v -w -x \