MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/zsh/4.3.11/functions/_freebsd-update
#compdef freebsd-update

local flags
flags=(
  '(cron)fetch[fetch a compressed snapshot or update existing one]'
  '(fetch)cron[sleep rand(3600) seconds, and then fetch updates]'
  '(install rollback)upgrade[fetch files necessary for upgrading to a new release]'
  '(upgrade rollback)install[install the most recently fetched updates or upgrade]'
  '(upgrade install)rollback[uninstall the most recently installed updates]'
)

_arguments -s \
  '-b[operate on a system mounted at basedir]:basedir:_files -/' \
  '-d[store working files in workdir]:workdir:_files -/' \
  '-f[read configuration options from conffile]:conf file:_files' \
  '-k[trust an RSA key with SHA256 of KEY]:RSA key:' \
  '-r[specify the new release]:new release:' \
  '-s[fetch files from the specified server or server pool]:server:_hosts' \
  '-f[mail output of cron command, if any, to address]:address:' \
  ':command:_values -S " " -w "commands" $flags[@]'