1 #compdef freebsd-update
5 '(cron)fetch[Fetch a compressed snapshot or update existing one]'
6 '(fetch)cron[Sleep rand(3600) seconds, and then fetch updates]'
7 '(install rollback)upgrade[Fetch files necessary for upgrading to a new release]'
8 '(upgrade rollback)install[Install the most recently fetched updates or upgrade]'
9 '(upgrade install)rollback[Uninstall the most recently installed updates]'
13 '-b[Operate on a system mounted at basedir]:basedir:_files -/' \
14 '-d[Store working files in workdir]:workdir:_files -/' \
15 '-f[Read configuration options from conffile]:conf file:_files' \
16 '-k[Trust an RSA key with SHA256 of KEY]:RSA key:' \
17 '-r[Specify the new release]:new release:' \
18 '-s[Fetch files from the specified server or server pool]:server:_hosts' \
19 '-f[Mail output of cron command, if any, to address]:address:' \
20 ':command:_values -S " " -w "commands" $flags[@]'