#compdef cleanse _cleanse () { _arguments -C -s \ '(--help)-h[show help]' \ '(-h)--help' \ '--delint[Finds stale dependency entries]' \ '--delint full[will delint dependencies that are off]' \ '--prune[Finds dispeled spells that should be cast]' \ '--prune doit[will cause it to actually cast and dispel]' \ '--packages[find bad entries in the installed spells file]' \ '--packages[find bad entries in the installed spells file]' \ '--fix[attempts to detect errors in cast spells and recasts broken ones]' \ '--nofix[attempts to detect errors in cast spells but does not recast]' \ '--nofix_quick[like --nofix, but does not check dependent spells]' \ '--tablet[clean up the tablet]' \ '--tablet_spell[clean up the tablet for one spell]' \ '--logs[cleans old logs in the same way a system-update does]' \ '--sweep[clean out old downloaded sources and cached binaries]' \ '*:' } .