#compdef clean-chroot-manager clean-chroot-manager64 ccm ccm64

_ccm() {
  local -a options

  options=('c:create the clean chroot'
          'cd:create the clean chroot with distcc'
           'N:nuke the clean chroot and external repo if defined'
           'n:nuke the clean chroot'
           't:toggle [*-testing] on or off'
           'R:repackage'
           'S:run makepkg in the clean chroot but do not clean first'
           's:run makepkg in the clean chroot'
           'a:add packages in current dir to local repo'
           'd:delete all packages in the local repo'
           'l:list packages in the local repo'
           'p:preview settings'
           'u:update the clean chroot manually')

  _describe 'options' options
}

_ccm
