#compdef cygcheck

_arguments -C \
  '(--check-setup)-c[check packages installed via setup.exe]' \
  '(-c)--check-setup[check packages installed via setup.exe]' \
  '(--sysinfo)-s[system information (not with -k)]' \
  '(-s)--sysinfo[system information (not with -k)]' \
  '(--verbose)-v[verbose output (indented) (for -s or programs)]' \
  '(-v)--verbose[verbose output (indented) (for -s or programs)]' \
  '(--registry)-r[registry search (requires -s)]' \
  '(-r)--registry[registry search (requires -s)]' \
  '(--keycheck)-k[perform a keyboard check session (not with -s)]' \
  '(-k)--keycheck[perform a keyboard check session (not with -s)]' \
  '(--help)-h[give help about the info (not with -c)]' \
  '(-h)--help[give help about the info (not with -c)]' \
  '(--version)-V[output version information and exit]' \
  '(-V)--version[output version information and exit]' \
  '*:program:_command_names -e'
