#compdef checkupdates

declare -a args
args=(
	'(--download -d)'{--download,-d}'[download pending updates to the pacman cache]'
	'(-)'{--help,-h}'[display help message and exit]'
	'(--nosync -n)'{--nosync,-n}'[do not sync the temporary database]'
)

_arguments $args
