# This is a bash completion rule

_ddtc()
{
	COMPREPLY=()
	cur=${COMP_WORDS[COMP_CWORD]}	# current word
	
	if [[ "$cur" == -* ]];
	then
		COMPREPLY=( $( compgen -W '-q -v -s -n -l -V -h --quiet --verbose --mail-self --nomail-self --lang --version --help' -- $cur ) )
	else
		COMPREPLY=( $( compgen -W 'parse mail fix clean stats section sget get review getbug btsclose notification status listtranslatedpackages noneveraguide neveraguide noguide guide' -- $cur ) )
	fi

	return 0
}
complete -F _ddtc ddtc
