#compdef eix-test-obsolete
local curcontext="$curcontext" state state_descr line
typeset -A opt_args
_arguments -C -s -S -A '-*' : \
'(1 -)'{'-h','-\\?'}'[help]' \
'-c[use CHECK_INSTALLED_OVERLAYS=true]' \
'-C[use CHECK_INSTALLED_OVERLAYS=repository]' \
'(1 -b -q)-d[instead of argument "detail"]' \
'(1 -d -q)-b[instead of argument "brief"]' \
'(1 -d -b)-q[instead of argument "quick"]' \
'-H[no status line update]' \
'1:mode:->mode'
local ret=$?
case $state in
(mode)
	local mode
	mode=(
	'detail:slow and very detailed output of redundant packages'
	'brief:normal output of redundant packages'
	'quick:quick and rather silent output of redundant packages'
	)
	_describe -t mode 'mode' mode && ret=0;;
esac
return ret
