#compdef checkupdates
declare -a args
args=(
'(--download -d)'{--download,-d}'[download pending updates to the pacman cache]'
'--nocolor[do not colorize output]'
'(--nosync -n)'{--nosync,-n}'[do not sync the temporary database]'
'(-)'{--help,-h}'[display help message and exit]'
'(-)'{--version,-V}'[display version information and exit]'
)
_arguments $args