#compdef eix-installed
local a
a=(
  'all\:"output all installed packages"'
  'repo\:"output packages installed with repository information"'
  'no-repo\:"output packages installed without repository information"'
  'buildtime\:"output packages installed with buildtime information"'
  'no-buildtime\:"output packages installed without buildtime information"'
)
_arguments -s -S -A '-*' : \
'(* -)'{'-h','-\\?'}'[help]' \
'(* -q)-a[same as -q all]' \
'-q[quiet\: output only packages, no text]' \
'-\=[output packages prefixed with "="]' \
"*:mode:(($a))"
