Add some cvs global option argument completions.
This commit is contained in:
parent
3690fb5171
commit
c4c6eb7132
14
contrib/cvs
14
contrib/cvs
@ -351,6 +351,20 @@ _cvs()
|
||||
fi
|
||||
;;
|
||||
"")
|
||||
case "$prev" in
|
||||
-T)
|
||||
_filedir -d
|
||||
return 0
|
||||
;;
|
||||
-e|-s)
|
||||
return 0
|
||||
;;
|
||||
-z)
|
||||
COMPREPLY=( $( compgen -W '1 2 3 4 5 6 7 8 9' -- "$cur" ) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
||||
COMPREPLY=( $( compgen -W '$( _cvs_commands ) $( _cvs_options ) \
|
||||
--help --help-commands --help-options --version' -- "$cur" ) )
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user