#compdef cvsup

_arguments -s \
    '-1[disable automatic retries]' \
    '-a[server must authenticate itself]' \
    '-A:local address:_hosts' \
    '-b:base directory:_files -/' \
    '-c:collections directory:_files -/' \
    '-d:maximum number of deleted files:' \
    '-D[perform only deletions]' \
    '(-E)-e[enable execution of commands from server]' \
    '(-e)-E[disable execution of commands from server]' \
    '-g[disable use of GUI]' \
    '-h:server host:_hosts' \
    '-i:file pattern:' \
    '-k[keep temporary copies of failed updates]' \
    '-l:lock file:_files' \
    '-L:verbosity level:(0 1 2)' \
    '-p:port:_ports' \
    '-P:connection mode:(m a port lo-hi -)' \
    '-r:maximum number of retries:' \
    '-s[suppress status checks]' \
    '-v[print version information]' \
    '(-Z)-z[enable compression]' \
    '(-z)-Z[disable compression]' \
    ':cvsup file:_files' \
    ':destination directory:_files -/'
