Add some cvs global option argument completions.

This commit is contained in:
Ville Skyttä 2009-10-20 22:08:18 +03:00
parent 3690fb5171
commit c4c6eb7132

View File

@ -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" ) )
;;