#compdef ptree

_arguments -s \
  '-a[all processes]' \
  '-c[show contract memberships]' \
  '-z[show processes in zone]:zone:_zones' \
  '*: : _alternative "users:logged-in user:_users_on" "pids:pid:_pids"'
