#compdef cleartool                                                                                                                                                                                               
#Generated by args.xsl
#Redefine command:cleartool
_cleartool()
{
        local suffixes suf
        local expl curcontext="$curcontext" state line
        typeset -A opt_args
                _arguments \
                '-version:Version information' \
                '-verall:full version information' \
                '-e' \
                '*::clearcase command:_cc_command'
}
# define cleartool command dispatch function.
(( $+functions[_cc_command] )) ||
_cc_command () {
  if (( ! $+_cc_cmds )); then
    typeset -gA _cc_cmds
    _cc_cmds=()
    for a in help man apropos quit cd pwd shell mkview chview rmview lsview startview endview setview edcs catcs setcs pwv lsprivate recoverview reformatview getcache setcache update get checkvob mkvob rmvob lsvob reformatvob relocate mount umount space dospace getlog lsclients hostinfo chflevel protect protectvob lock unlock lslock mkeltype mkbrtype mklbtype mkattype mkhltype mktrtype lstype rmtype chtype cptype mkpool lspool rmpool chpool lsreplica chmaster reqmaster rename ln rmname move file mkdir mkelem rmelem mkbranch rmbranch rmver checkout uncheckout checkin reserve unreserve lscheckout chevent mklabel rmlabel mkattr rmattr mkhlink rmhlink mktrigger rmtrigger diff merge rmmerge findmerge find ls describe lshistory lsvtree annotate lsdo rmdo catcr diffcr winkin mktag rmtag register unregister mkregion rmregion lsregion lssite setsite mkactivity rmactivity mkfolder rmfolder mkproject rmproject mkstream rmstream setactivity chfolder chproject chstream chactivity mkcomp rmcomp lscomp mkbl rmbl chbl lsbl diffbl lsfolder lsproject lsstream lsactivity deliver rebase setplevel schedule
    do
      _cc_cmds[$a]=" "
    done
    _cc_cmds[checkin]=" ci "
    _cc_cmds[checkout]=" co "
    _cc_cmds[lscheckout]=" lsco "
    _cc_cmds[uncheckout]=" unco "
  fi

  if (( CURRENT == 1 )); then
    _tags commands && { compadd "$@" -k _cc_cmds || compadd "$@" ${(kv)=_cc_cmds} }
  else
    local curcontext="$curcontext"

    cmd="${${(k)_cc_cmds[(R)* $words[1] *]}:-${(k)_cc_cmds[(i)$words[1]]}}"
    if (( $#cmd )); then
      curcontext="${curcontext%:*:*}:cc-${cmd}:"
      _cc_$cmd
    else
      _message "unknown clearcase command: $words[1]"
    fi
  fi
}

# define cleartool command dispatch function.
(( $+functions[_cc_handle] )) ||
_cc_handle () {
}


# subcommands
(( $+functions[_cc_help] )) ||
_cc_help () {
        _arguments \
                '1:Handling Tag command-name'
}

(( $+functions[_cc_man] )) ||
_cc_man () {
        _arguments \
                '-graphical' \
                '1:Handling Tag command-name'
}

(( $+functions[_cc_apropos] )) ||
_cc_apropos () {
        _arguments \
                '*:Handling Tag topic'
}

(( $+functions[_cc_apropos] )) ||
_cc_apropos () {
        _arguments \
                '-glossary:Handling Tag topic-args'
}

(( $+functions[_cc_quit] )) ||
_cc_quit () {
        _arguments \
}

(( $+functions[_cc_cd] )) ||
_cc_cd () {
        _arguments \
                '1:Handling Tag dir-pname'
}

(( $+functions[_cc_pwd] )) ||
_cc_pwd () {
        _arguments \
}

(( $+functions[_cc_shell] )) ||
_cc_shell () {
        _arguments \
                '1:Handling Tag command' \
                '*:Handling Tag args'
}

(( $+functions[_cc_mkview] )) ||
_cc_mkview () {
        _arguments \
                '-cachesize:Handling Tag size' \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '-ln:Handling Tag link-storage-to-dir-pname' \
                '-ncaexported' \
                '(-shareable_dos)-nshareable_dos' \
                '-region:Handling Tag network-region' \
                '(-nshareable_dos)-shareable_dos' \
                '-stream:Handling Tag stream-selector' \
                '-tag:Handling Tag view-tag:_cc_views' \
                '-tcomment:Handling Tag tag-comment' \
                '-tmode:Handling Tag text-mode' \
                '1:Handling Tag view-storage-pname'
}

(( $+functions[_cc_mkview] )) ||
_cc_mkview () {
        _arguments \
                '-cachesize:Handling Tag size' \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '-ptime' \
                '-snapshot' \
                '-stream:Handling Tag stream-selector' \
                '-tag:Handling Tag view-tag:_cc_views' \
                '-tcomment:Handling Tag tag-comment' \
                '-tmode:Handling Tag text-mode' \
                '-vws:Handling Tag view-storage-pname' \
                '1:Handling Tag snapshot-view-pname'
}

(( $+functions[_cc_chview] )) ||
_cc_chview () {
        _arguments \
                '-cachesize:Handling Tag size' \
                '()-cview' \
                '(-shareable_dos)-nshareable_dos' \
                '(-readwrite)-readonly' \
                '(-readonly)-readwrite' \
                '(-nshareable_dos)-shareable_dos' \
                '1:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_rmview] )) ||
_cc_rmview () {
        _arguments \
                '-force' \
                '()-tag:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag view-storage-pname' \
                '2:Handling Tag snapshot-view-pname'
}

(( $+functions[_cc_rmview] )) ||
_cc_rmview () {
        _arguments \
                '(-vob -avobs)-all' \
                '(-vob -all)-avobs' \
                '-force' \
                '-uuid:Handling Tag view-uuid' \
                '(-avobs -all)-vob:Handling Tag pname-in-vob:_cc_files'
}

(( $+functions[_cc_lsview] )) ||
_cc_lsview () {
        _arguments \
                '(-properties -full)-age' \
                '(-storage -uuid)-cview' \
                '(-age)-full' \
                '-host:Handling Tag hostname' \
                '(-short)-long' \
                '(-age)-properties' \
                '-region:Handling Tag network-region-pattern' \
                '(-long)-short' \
                '(-cview -uuid)-storage:Handling Tag view-storage-pname' \
                '(-cview -storage)-uuid:Handling Tag view-uuid' \
                '*:Handling Tag view-tag-pattern'
}

(( $+functions[_cc_startview] )) ||
_cc_startview () {
        _arguments \
                '*:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_endview] )) ||
_cc_endview () {
        _arguments \
                '-server' \
                '*:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_setview] )) ||
_cc_setview () {
        _arguments \
                '-exec:Handling Tag command-invocation' \
                '-login' \
                '1:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_edcs] )) ||
_cc_edcs () {
        _arguments \
                '-tag:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag pname'
}

(( $+functions[_cc_catcs] )) ||
_cc_catcs () {
        _arguments \
                '-tag:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_setcs] )) ||
_cc_setcs () {
        _arguments \
                '(-default -stream)-current' \
                '(-current -stream)-default' \
                '(-current -default)-stream' \
                '-tag:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag pname'
}

(( $+functions[_cc_pwv] )) ||
_cc_pwv () {
        _arguments \
                '(-wdview -setview)-root' \
                '(-wdview -root)-setview' \
                '-short' \
                '(-setview -root)-wdview'
}

(( $+functions[_cc_lsprivate] )) ||
_cc_lsprivate () {
        _arguments \
                '-age' \
                '-co' \
                '-do' \
                '-invob:Handling Tag vob-selector' \
                '(-short)-long' \
                '-other' \
                '(-long)-short' \
                '-size' \
                '-tag:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_recoverview] )) ||
_cc_recoverview () {
        _arguments \
                '-synchronize' \
                '()-tag:Handling Tag view-tag:_cc_views' \
                '-vob:Handling Tag pname-in-vob:_cc_files' \
                '1:Handling Tag view-storage-pname'
}

(( $+functions[_cc_recoverview] )) ||
_cc_recoverview () {
        _arguments \
                '(-vob)-directory:Handling Tag dir-identifier' \
                '-force' \
                '()-tag:Handling Tag view-tag:_cc_views' \
                '(-directory)-vob:Handling Tag vob-identifier' \
                '1:Handling Tag view-storage-pname'
}

(( $+functions[_cc_reformatview] )) ||
_cc_reformatview () {
        _arguments \
                '(-load)-dump' \
                '(-dump)-load' \
                '()-tag:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag view-storage-pname'
}

(( $+functions[_cc_getcache] )) ||
_cc_getcache () {
        _arguments \
                '(-short)-all' \
                '()-cview' \
                '-reset' \
                '(-all)-short' \
                '-view' \
                '1:Handling Tag view_tag'
}

(( $+functions[_cc_getcache] )) ||
_cc_getcache () {
        _arguments \
                '-site' \
                '-view'
}

(( $+functions[_cc_getcache] )) ||
_cc_getcache () {
        _arguments \
                '-host' \
                '-view'
}

(( $+functions[_cc_getcache] )) ||
_cc_getcache () {
        _arguments \
                '-mvfs' \
                '-short'
}

(( $+functions[_cc_setcache] )) ||
_cc_setcache () {
        _arguments \
                '(-default)-cachesize:Handling Tag size' \
                '()-cview' \
                '(-cachesize)-default' \
                '-view' \
                '1:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_setcache] )) ||
_cc_setcache () {
        _arguments \
                '(-default)-cachesize:Handling Tag size' \
                '(-cachesize)-default' \
                '-host' \
                '-view'
}

(( $+functions[_cc_setcache] )) ||
_cc_setcache () {
        _arguments \
                '(-default)-cachesize:Handling Tag size' \
                '(-cachesize)-default' \
                '-password:Handling Tag registry-password' \
                '-site' \
                '-view'
}

(( $+functions[_cc_setcache] )) ||
_cc_setcache () {
        _arguments \
                '(-regdnc -noentdnc -dirdnc -vobfree -rpchandles)-cvpfree:Handling Tag cnt' \
                '(-regdnc -noentdnc -vobfree -cvpfree -rpchandles)-dirdnc:Handling Tag cnt' \
                '-mvfs' \
                '(-regdnc -dirdnc -vobfree -cvpfree -rpchandles)-noentdnc:Handling Tag cnt' \
                '(-noentdnc -dirdnc -vobfree -cvpfree -rpchandles)-regdnc:Handling Tag cnt' \
                '(-regdnc -noentdnc -dirdnc -vobfree -cvpfree)-rpchandles:Handling Tag cnt' \
                '(-regdnc -noentdnc -dirdnc -cvpfree -rpchandles)-vobfree:Handling Tag cnt'
}

(( $+functions[_cc_update] )) ||
_cc_update () {
        _arguments \
                '-graphical:Handling Tag pname'
}

(( $+functions[_cc_update] )) ||
_cc_update () {
        _arguments \
                '(-ptime)-ctime' \
                '-force' \
                '-log:Handling Tag pname' \
                '(-overwrite -rename)-noverwrite' \
                '(-noverwrite -rename)-overwrite' \
                '-print' \
                '(-ctime)-ptime' \
                '(-overwrite -noverwrite)-rename' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_update] )) ||
_cc_update () {
        _arguments \
                '-add_loadrules' \
                '(-ptime)-ctime' \
                '-force' \
                '-log:Handling Tag pname' \
                '(-overwrite -rename)-noverwrite' \
                '(-noverwrite -rename)-overwrite' \
                '-print' \
                '(-ctime)-ptime' \
                '(-overwrite -noverwrite)-rename' \
                '1:Handling Tag pname'
}

(( $+functions[_cc_get] )) ||
_cc_get () {
        _arguments \
                '-to:Handling Tag dest-pname:_cc_files'
}

(( $+functions[_cc_checkvob] )) ||
_cc_checkvob () {
        _arguments \
                '(-lock)-cleartext' \
                '-data' \
                '-debris' \
                '(-lock)-derived' \
                '-fix' \
                '-force' \
                '-ignore' \
                '(-pool -source -derived -cleartext)-lock' \
                '-log:Handling Tag log-dir-pname' \
                '(-lock)-pool' \
                '-protections' \
                '-setup' \
                '(-lock)-source' \
                '-view:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag vob-stg-pname' \
                '2:Handling Tag pname-in-vob:_cc_files' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_checkvob] )) ||
_cc_checkvob () {
        _arguments \
                '-force' \
                '(-to)-from' \
                '-hlinks' \
                '-hltype:Handling Tag hltype-selector' \
                '-pname' \
                '(-from)-to' \
                '*:Handling Tag object_selector'
}

(( $+functions[_cc_checkvob] )) ||
_cc_checkvob () {
        _arguments \
                '-acquire' \
                '-fix' \
                '-force' \
                '-global' \
                '(-unlock)-lock' \
                '-log:Handling Tag log-pname' \
                '-protections' \
                '(-lock)-unlock' \
                '1:Handling Tag vob-selector' \
                '2:Handling Tag global-type-selector'
}

(( $+functions[_cc_mkvob] )) ||
_cc_mkvob () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '(-c -cfile -cq -cqe)-nc' \
                '-ncaexported' \
                '-options:Handling Tag mount-options' \
                '-password:Handling Tag tag-registry-password' \
                '(-ucmproject)-process' \
                '-public' \
                '-region:Handling Tag network-region' \
                '-tag:Handling Tag vob-tag' \
                '-tcomment:Handling Tag tag-comment' \
                '(-process)-ucmproject' \
                '1:Handling Tag vob-storage-pname'
}

(( $+functions[_cc_rmvob] )) ||
_cc_rmvob () {
        _arguments \
                '-force' \
                '*:Handling Tag vob-storage-dir-pname'
}

(( $+functions[_cc_lsvob] )) ||
_cc_lsvob () {
        _arguments \
                '-graphical' \
                '-region:Handling Tag network-region'
}

(( $+functions[_cc_lsvob] )) ||
_cc_lsvob () {
        _arguments \
                '-host:Handling Tag hostname' \
                '(-short)-long' \
                '-region:Handling Tag network-region-pattern' \
                '(-long)-short' \
                '(-uuid)-storage:Handling Tag vob-storage-pname' \
                '(-storage)-uuid:Handling Tag vob-uuid' \
                '*:Handling Tag vob-tag-pattern'
}

(( $+functions[_cc_reformatvob] )) ||
_cc_reformatvob () {
        _arguments \
                '(-load)-dump' \
                '-force' \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '(-dump)-load' \
                '-rm' \
                '-to:Handling Tag dumpfile-dir-pname' \
                '1:Handling Tag vob-storage-pname'
}

(( $+functions[_cc_relocate] )) ||
_cc_relocate () {
        _arguments \
                '-force' \
                '-log:Handling Tag log-pname' \
                '-qall' \
                '-update' \
                '1:Handling Tag pname' \
                '*:Handling Tag pname' \
                '3:Handling Tag target-dir-pname'
}

(( $+functions[_cc_mount] )) ||
_cc_mount () {
        _arguments \
                '(-options)-all' \
                '(-all)-options:Handling Tag mount-options' \
                '1:Handling Tag vob-tag'
}

(( $+functions[_cc_umount] )) ||
_cc_umount () {
        _arguments \
                '()-all' \
                '1:Handling Tag vob-tag'
}

(( $+functions[_cc_space] )) ||
_cc_space () {
        _arguments \
                '-all' \
                '()-host:Handling Tag hostname' \
                '-region:Handling Tag network-region' \
                '-update' \
                '(-vob)-view' \
                '(-view)-vob' \
                '*:Handling Tag tag'
}

(( $+functions[_cc_space] )) ||
_cc_space () {
        _arguments \
                '-directory:Handling Tag pname'
}

(( $+functions[_cc_space] )) ||
_cc_space () {
        _arguments \
                '-generate' \
                '-scrub:Handling Tag days' \
                '*:Handling Tag tag'
}

(( $+functions[_cc_dospace] )) ||
_cc_dospace () {
        _arguments \
                '(-top)-all' \
                '-before:Handling Tag date-time' \
                '-pool:Handling Tag pool-selector' \
                '-references:Handling Tag 0' \
                '-region:Handling Tag network-region' \
                '-since:Handling Tag date-time' \
                '-size:Handling Tag size' \
                '(-all)-top:Handling Tag number' \
                '-update' \
                '*:Handling Tag vob-tag'
}

(( $+functions[_cc_dospace] )) ||
_cc_dospace () {
        _arguments \
                '-dump:Handling Tag vob-tag' \
                '-update'
}

(( $+functions[_cc_dospace] )) ||
_cc_dospace () {
        _arguments \
                '-generate' \
                '-scrub:Handling Tag days' \
                '*:Handling Tag vob-tag'
}

(( $+functions[_cc_getlog] )) ||
_cc_getlog () {
        _arguments \
                '(-host -tag -vob)-cview' \
                '-graphical' \
                '(-cview -tag -vob)-host:Handling Tag hostname' \
                '(-host -cview -vob)-tag:Handling Tag view-tag:_cc_views' \
                '(-host -cview -tag)-vob:Handling Tag pname-in-vob:_cc_files'
}

(( $+functions[_cc_getlog] )) ||
_cc_getlog () {
        _arguments \
                '(-inquire)-all' \
                '(-last -full -since)-around:Handling Tag date-time' \
                '(-host -tag -vob)-cview' \
                '(-last -since -around)-full' \
                '(-cview -tag -vob)-host:Handling Tag hostname' \
                '(-all)-inquire' \
                '(-full -since -around)-last:Handling Tag #_lines' \
                '(-last -full -around)-since:Handling Tag date-time' \
                '(-host -cview -vob)-tag:Handling Tag view-tag:_cc_views' \
                '(-host -cview -tag)-vob:Handling Tag pname-in-vob:_cc_files' \
                '*:Handling Tag log-name'
}

(( $+functions[_cc_lsclients] )) ||
_cc_lsclients () {
        _arguments \
                '-host:Handling Tag hostname' \
                '(-short)-long' \
                '(-long)-short' \
                '-type::(registry license all)'
}

(( $+functions[_cc_hostinfo] )) ||
_cc_hostinfo () {
        _arguments \
                '-full' \
                '-long' \
                '-properties' \
                '*:Handling Tag hostname'
}

(( $+functions[_cc_chflevel] )) ||
_cc_chflevel () {
        _arguments \
                '-family:Handling Tag feature-level' \
                '-force' \
                '-override'
}

(( $+functions[_cc_chflevel] )) ||
_cc_chflevel () {
        _arguments \
                '-replica:Handling Tag feature-level'
}

(( $+functions[_cc_chflevel] )) ||
_cc_chflevel () {
        _arguments \
                '-auto' \
                '-force'
}

(( $+functions[_cc_protect] )) ||
_cc_protect () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '-chgrp:Handling Tag group-name' \
                '-chmod:Handling Tag permissions' \
                '-chown:Handling Tag login-name' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-file)-directory' \
                '(-directory)-file' \
                '(-c -cfile -cq -cqe)-nc' \
                '()-pname' \
                '()-recurse' \
                '*:Handling Tag pname' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_protectvob] )) ||
_cc_protectvob () {
        _arguments \
                '-add_group:Handling Tag group-name' \
                '-chgrp:Handling Tag group-name' \
                '-chown:Handling Tag login-name' \
                '-delete_group:Handling Tag group-name' \
                '-force' \
                '*:Handling Tag vob-storage-dir-pname'
}

(( $+functions[_cc_lock] )) ||
_cc_lock () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-obsolete)-nusers:Handling Tag login-name' \
                '(-nusers)-obsolete' \
                '()-pname' \
                '-replace' \
                '*:Handling Tag pname' \
                '*:Handling Tag object_selector'
}

(( $+functions[_cc_unlock] )) ||
_cc_unlock () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '()-pname' \
                '*:Handling Tag pname' \
                '*:Handling Tag object_selector'
}

(( $+functions[_cc_lslock] )) ||
_cc_lslock () {
        _arguments \
                '()-all' \
                '(-long -short)-fmt:Handling Tag format' \
                '-local' \
                '(-short -fmt)-long' \
                '-obsolete' \
                '()-pname' \
                '(-long -fmt)-short' \
                '*:Handling Tag pname' \
                '*:Handling Tag object_selector'
}

(( $+functions[_cc_mkeltype] )) ||
_cc_mkeltype () {
        _arguments \
                '(-ordinary)-acquire' \
                '-attype:Handling Tag attr-type-selector' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-ordinary)-global' \
                '-manager:Handling Tag mgr-name' \
                '-mergetype::(auto user never)' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-global -acquire)-ordinary' \
                '-ptime' \
                '-replace' \
                '-supertype:Handling Tag elem-type-selector' \
                '*:Handling Tag element-type-selector'
}

(( $+functions[_cc_mkbrtype] )) ||
_cc_mkbrtype () {
        _arguments \
                '(-ordinary)-acquire' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-ordinary)-global' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-global -acquire)-ordinary' \
                '-pbranch' \
                '-replace' \
                '*:Handling Tag branch-type-selector'
}

(( $+functions[_cc_mklbtype] )) ||
_cc_mklbtype () {
        _arguments \
                '(-ordinary)-acquire' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-ordinary)-global' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-global -acquire)-ordinary' \
                '-pbranch' \
                '-replace' \
                '-shared' \
                '*:Handling Tag label-type-selector'
}

(( $+functions[_cc_mkattype] )) ||
_cc_mkattype () {
        _arguments \
                '(-ordinary)-acquire' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-default:Handling Tag default-value' \
                '(-gt -ge -lt -le)-enum:Handling Tag value' \
                '(-enum -gt)-ge:Handling Tag low-value' \
                '(-ordinary)-global' \
                '(-enum -ge)-gt:Handling Tag low-value' \
                '(-enum -lt)-le:Handling Tag high-value' \
                '(-enum -le)-lt:Handling Tag high-value' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-global -acquire)-ordinary' \
                '-replace' \
                '-shared' \
                '(-vpelement -vpversion)-vpbranch' \
                '(-vpbranch -vpversion)-vpelement' \
                '(-vpelement -vpbranch)-vpversion' \
                '-vtype::(integer real time string opaque)' \
                '*:Handling Tag attribute-type-selector'
}

(( $+functions[_cc_mkhltype] )) ||
_cc_mkhltype () {
        _arguments \
                '(-ordinary)-acquire' \
                '-attype:Handling Tag attr-type-selector' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-ordinary)-global' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-global -acquire)-ordinary' \
                '-replace' \
                '-shared' \
                '*:Handling Tag hlink-type-selector'
}

(( $+functions[_cc_mktrtype] )) ||
_cc_mktrtype () {
        _arguments \
                '(-type)-all' \
                '-attype:Handling Tag attr-type-selector' \
                '-brtype:Handling Tag branch-type-selector' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-type)-element' \
                '-eltype:Handling Tag elem-type-selector' \
                '(-execunix -execwin -mklabel -mkattr -mkhlink)-exec:Handling Tag command-invocation' \
                '(-exec -execwin -mklabel -mkattr -mkhlink)-execunix:Handling Tag command-invocation' \
                '(-exec -execunix -mklabel -mkattr -mkhlink)-execwin:Handling Tag command-invocation' \
                '-hltype:Handling Tag hlink-type-selector' \
                '-lbtype:Handling Tag label-type-selector' \
                '(-exec -execunix -execwin -mklabel -mkhlink)-mkattr:Handling Tag attr-type-selector=value' \
                '(-exec -execunix -execwin -mklabel -mkattr)-mkhlink:Handling Tag hlink-type-selector:(to from)' \
                '(-exec -execunix -execwin -mkattr -mkhlink)-mklabel:Handling Tag label-type-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nusers:Handling Tag login-name' \
                '(-preop)-postop' \
                '(-postop)-preop' \
                '-print' \
                '-replace' \
                '-trtype:Handling Tag trigger-type-selector' \
                '(-element -all)-type' \
                '1:Handling Tag opkind' \
                '*:Handling Tag type-selector'
}

(( $+functions[_cc_lstype] )) ||
_cc_lstype () {
        _arguments \
                '(-long -short)-fmt:Handling Tag format' \
                '()-invob:Handling Tag vob-selector' \
                '()-kind:Handling Tag type-kind' \
                '-local' \
                '(-short -fmt)-long' \
                '-obsolete' \
                '(-long -fmt)-short' \
                '*:Handling Tag type_selector'
}

(( $+functions[_cc_rmtype] )) ||
_cc_rmtype () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '-ignore' \
                '(-c -cfile -cq -cqe)-nc' \
                '-rmall' \
                '*:Handling Tag type-selector'
}

(( $+functions[_cc_chtype] )) ||
_cc_chtype () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '()-pname' \
                '1:Handling Tag type-selector' \
                '*:Handling Tag pname' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_cptype] )) ||
_cc_cptype () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-replace' \
                '1:Handling Tag existing-type-selector' \
                '2:Handling Tag new-type-selector'
}

(( $+functions[_cc_mkpool] )) ||
_cc_mkpool () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-ln:Handling Tag pool-dir-pname' \
                '(-c -cfile -cq -cqe)-nc' \
                '-source' \
                '*:Handling Tag pool-selector'
}

(( $+functions[_cc_mkpool] )) ||
_cc_mkpool () {
        _arguments \
                '-age:Handling Tag hours' \
                '-alert:Handling Tag command' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-derived)-cleartext' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-cleartext)-derived' \
                '-ln:Handling Tag pool-dir-pname' \
                '(-c -cfile -cq -cqe)-nc' \
                '-size:Handling Tag max-kbytes' \
                '*:Handling Tag pool-selector'
}

(( $+functions[_cc_mkpool] )) ||
_cc_mkpool () {
        _arguments \
                '-age:Handling Tag hours' \
                '-alert:Handling Tag command' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-size:Handling Tag max-kbytes' \
                '-update' \
                '*:Handling Tag pool-selector'
}

(( $+functions[_cc_lspool] )) ||
_cc_lspool () {
        _arguments \
                '(-long -short)-fmt:Handling Tag format' \
                '()-invob:Handling Tag vob-selector' \
                '(-short -fmt)-long' \
                '-obsolete' \
                '(-long -fmt)-short' \
                '*:Handling Tag pool-selector'
}

(( $+functions[_cc_rmpool] )) ||
_cc_rmpool () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag pool-selector'
}

(( $+functions[_cc_chpool] )) ||
_cc_chpool () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '1:Handling Tag pool-selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_lsreplica] )) ||
_cc_lsreplica () {
        _arguments \
                '(-long -short)-fmt:Handling Tag format' \
                '(-siblings)-invob:Handling Tag vob-selector' \
                '(-short -fmt)-long' \
                '(-long -fmt)-short' \
                '(-invob)-siblings' \
                '*:Handling Tag replica-selector'
}

(( $+functions[_cc_chmaster] )) ||
_cc_chmaster () {
        _arguments \
                '(-pname -default -pname -default)-all' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-pname -all -force -long)-default:Handling Tag brtype-selector' \
                '(-pname -default -pname -default)-force:Handling Tag old-replica-selector' \
                '(-pname -default -pname -default)-long' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-default -default -all -force -long)-pname' \
                '1:Handling Tag master-replica-selector' \
                '*:Handling Tag object-selector' \
                '3:Handling Tag master-replica-selector' \
                '*:Handling Tag branch-or-element-pname' \
                '*:Handling Tag branch-pname' \
                '6:Handling Tag master-replica-selector'
}

(( $+functions[_cc_reqmaster] )) ||
_cc_reqmaster () {
        _arguments \
                '(-enable -disable -deny -allow -instances -deny -allow -list)-acl' \
                '(-acl -edit -set -get -enable -disable -deny -list -deny -deny)-allow' \
                '(-cq -nc)-c:Handling Tag comment' \
                '(-c -nc)-cq' \
                '(-acl -edit -set -get -enable -disable -allow -list -allow -allow)-deny' \
                '(-acl -edit -set -get -deny -allow -instances -deny -allow -list -enable)-disable' \
                '(-enable -disable -deny -allow -instances -deny -allow -list -set -get)-edit' \
                '(-acl -edit -set -get -deny -allow -instances -deny -allow -list -disable)-enable' \
                '(-enable -disable -deny -allow -instances -deny -allow -list -edit -set)-get' \
                '(-acl -edit -set -get -enable -disable -deny -allow -list)-instances:Handling Tag branchtype-selector' \
                '(-acl -edit -set -get -enable -disable -deny -allow -instances -deny -allow)-list' \
                '(-c -cq)-nc' \
                '(-enable -disable -deny -allow -instances -deny -allow -list -edit -get)-set:Handling Tag pname' \
                '1:Handling Tag vob-selector' \
                '2:Handling Tag vob-selector' \
                '*:Handling Tag branch-pname' \
                '*:Handling Tag branch-pname'
}

(( $+functions[_cc_rename] )) ||
_cc_rename () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '()-generate:Handling Tag old-object-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '1:Handling Tag old-object-selector' \
                '2:Handling Tag new-object-selector'
}

(( $+functions[_cc_ln] )) ||
_cc_ln () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nco' \
                '-slink' \
                '1:Handling Tag pname' \
                '2:Handling Tag target-pname'
}

(( $+functions[_cc_ln] )) ||
_cc_ln () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nco' \
                '-slink' \
                '1:Handling Tag pname' \
                '*:Handling Tag pname' \
                '3:Handling Tag target-dir-pname'
}

(( $+functions[_cc_rmname] )) ||
_cc_rmname () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nco' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_move] )) ||
_cc_move () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '1:Handling Tag pname' \
                '2:Handling Tag target-pname'
}

(( $+functions[_cc_move] )) ||
_cc_move () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '1:Handling Tag mv' \
                '2:Handling Tag pname' \
                '*:Handling Tag pname' \
                '4:Handling Tag target-dir-pname'
}

(( $+functions[_cc_file] )) ||
_cc_file () {
        _arguments \
                '-all' \
                '-invob:Handling Tag pname' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_mkdir] )) ||
_cc_mkdir () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nco' \
                '*:Handling Tag dir-pname'
}

(( $+functions[_cc_mkelem] )) ||
_cc_mkelem () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-nco)-ci' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-eltype:Handling Tag elem-type-name' \
                '-master' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-ci -ptime)-nco' \
                '-nwarn' \
                '(-nco)-ptime' \
                '*:Handling Tag element-pname'
}

(( $+functions[_cc_rmelem] )) ||
_cc_rmelem () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_mkbranch] )) ||
_cc_mkbranch () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nco' \
                '-nwarn' \
                '-version:Handling Tag version-selector' \
                '1:Handling Tag branch-type-selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_rmbranch] )) ||
_cc_rmbranch () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_rmver] )) ||
_cc_rmver () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-data' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-vrange)-version:Handling Tag version-selector' \
                '(-version)-vrange:Handling Tag low-version' \
                '-xattr' \
                '-xbranch' \
                '-xhlink' \
                '-xlabel' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_checkout] )) ||
_cc_checkout () {
        _arguments \
                '(-version)-branch:Handling Tag branch-pname' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-out)-ndata' \
                '-nmaster' \
                '(-query)-nquery' \
                '-nwarn' \
                '(-ndata)-out:Handling Tag dest-pname:_cc_files' \
                '-ptime' \
                '(-nquery)-query' \
                '-reserved' \
                '-unreserved' \
                '(-branch)-version' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_uncheckout] )) ||
_cc_uncheckout () {
        _arguments \
                '(-cwork)-cact' \
                '(-cact)-cwork' \
                '(-rm)-keep' \
                '(-keep)-rm' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_checkin] )) ||
_cc_checkin () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-cwork)-cact' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-cr' \
                '(-cact)-cwork' \
                '-from:Handling Tag source-pname:_cc_files' \
                '-identical' \
                '(-rm)-keep' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nwarn' \
                '-ptime' \
                '(-keep)-rm' \
                '*:Handling Tag activity_selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_reserve] )) ||
_cc_reserve () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-cwork)-cact' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-cact)-cwork' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_unreserve] )) ||
_cc_unreserve () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-cwork)-cact' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-cact)-cwork' \
                '(-c -cfile -cq -cqe)-nc' \
                '-view:Handling Tag hostname:' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_lscheckout] )) ||
_cc_lscheckout () {
        _arguments \
                '(-recurse -directory -avobs)-all' \
                '-areplicas' \
                '(-recurse -directory -all)-avobs' \
                '-brtype:Handling Tag branch-type-selector' \
                '-cview' \
                '(-recurse -all -avobs)-directory' \
                '(-long -short)-fmt:Handling Tag format' \
                '(-short -fmt)-long' \
                '(-user)-me' \
                '(-directory -all -avobs)-recurse' \
                '(-long -fmt)-short' \
                '(-me)-user:Handling Tag login-name' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_chevent] )) ||
_cc_chevent () {
        _arguments \
                '(-insert -replace)-append' \
                '(-cq -cfile -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cq -cfile -nc)-cqe' \
                '(-pname)-event' \
                '(-append -replace)-insert' \
                '(-pname)-invob:Handling Tag vob-selector' \
                '(-c -cq -cfile -cqe)-nc' \
                '(-event -invob)-pname' \
                '(-append -insert)-replace' \
                '*:Handling Tag event-id' \
                '*:Handling Tag pname' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_mklabel] )) ||
_cc_mklabel () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-recurse' \
                '-replace' \
                '-version:Handling Tag version-selector' \
                '1:Handling Tag label-type-selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_mklabel] )) ||
_cc_mklabel () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '-ci' \
                '-config:Handling Tag do-pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-name:Handling Tag tail-pattern' \
                '(-c -cfile -cq -cqe)-nc' \
                '-replace' \
                '-select:Handling Tag do-leaf-pattern' \
                '-type::(f d)'
}

(( $+functions[_cc_rmlabel] )) ||
_cc_rmlabel () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-version:Handling Tag version-selector' \
                '1:Handling Tag label-type-selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_mkattr] )) ||
_cc_mkattr () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '()-default:Handling Tag attribute-type-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '-pname' \
                '-recurse' \
                '-replace' \
                '-version:Handling Tag version-selector' \
                '1:Handling Tag attribute-type-selector' \
                '2:Handling Tag value' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_mkattr] )) ||
_cc_mkattr () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '()-default:Handling Tag attribute-type-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '-replace' \
                '1:Handling Tag attribute-type-selector' \
                '2:Handling Tag value' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_mkattr] )) ||
_cc_mkattr () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '-ci' \
                '-config:Handling Tag do-pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '()-default:Handling Tag attribute-type-selector' \
                '-name:Handling Tag tail-pattern' \
                '(-c -cfile -cq -cqe)-nc' \
                '-replace' \
                '-select:Handling Tag do-leaf-pattern' \
                '-type::(f d)' \
                '1:Handling Tag attribute-type-selector' \
                '2:Handling Tag value'
}

(( $+functions[_cc_rmattr] )) ||
_cc_rmattr () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '()-pname' \
                '()-version:Handling Tag version-selector' \
                '1:Handling Tag attribute-type-selector' \
                '*:Handling Tag pname' \
                '3:Handling Tag attribute-type-selector' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_mkhlink] )) ||
_cc_mkhlink () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-fpname' \
                '-ftext:Handling Tag from-text' \
                '(-c -cfile -cq -cqe)-nc' \
                '-tpname' \
                '-ttext:Handling Tag to-text' \
                '-unidir' \
                '1:Handling Tag hlink-type-selector' \
                '2:Handling Tag from-obj-selector' \
                '3:Handling Tag to-obj-selector'
}

(( $+functions[_cc_rmhlink] )) ||
_cc_rmhlink () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag hlink-selector'
}

(( $+functions[_cc_mktrigger] )) ||
_cc_mktrigger () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-ninherit)-nattach' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-nattach)-ninherit' \
                '-recurse' \
                '1:Handling Tag trigger-type-selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_rmtrigger] )) ||
_cc_rmtrigger () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-ninherit)-nattach' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-nattach)-ninherit' \
                '-recurse' \
                '1:Handling Tag trigger-type-selector' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_diff] )) ||
_cc_diff () {
        _arguments \
                '-graphical' \
                '(-vstack)-hstack' \
                '-options:Handling Tag pass-through-opts' \
                '-predecessor' \
                '-tiny' \
                '(-hstack)-vstack' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_diff] )) ||
_cc_diff () {
        _arguments \
                '(-serial_format -diff_format)-columns:Handling Tag n' \
                '(-serial_format -columns)-diff_format' \
                '-options:Handling Tag pass-through-opts' \
                '-predecessor' \
                '(-diff_format -columns)-serial_format' \
                '(-window)-tiny' \
                '(-tiny)-window' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_merge] )) ||
_cc_merge () {
        _arguments \
                '(-query -qall)-abort' \
                '(-insert -delete)-base:Handling Tag pname' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-graphical -tiny -serial_format -diff_format)-columns:Handling Tag n' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-base -insert)-delete' \
                '(-graphical -tiny -serial_format -columns)-diff_format' \
                '(-tiny -window -serial_format -diff_format -columns)-graphical' \
                '(-base -delete)-insert' \
                '(-ndata)-narrows' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-narrows)-ndata' \
                '-options:Handling Tag pass-through-options' \
                '(-to)-out:Handling Tag output-pname' \
                '(-query -abort)-qall' \
                '(-abort -qall)-query' \
                '-replace' \
                '(-graphical -tiny -diff_format -columns)-serial_format' \
                '(-window -serial_format -diff_format -columns -window)-tiny' \
                '(-out)-to:Handling Tag contrib-and-result-pname:_cc_files' \
                '()-version:Handling Tag contrib-version-selector' \
                '(-graphical -tiny -tiny)-window' \
                '*:Handling Tag contrib-pname'
}

(( $+functions[_cc_rmmerge] )) ||
_cc_rmmerge () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '1:Handling Tag from-pname' \
                '2:Handling Tag to-pname'
}

(( $+functions[_cc_findmerge] )) ||
_cc_findmerge () {
        _arguments \
                '-graphical'
}

(( $+functions[_cc_findmerge] )) ||
_cc_findmerge () {
        _arguments \
                '(-avobs)-all' \
                '(-all)-avobs' \
                '(-nrecurse -directory)-depth' \
                '(-depth -nrecurse)-directory' \
                '(-ftag -fversion)-flatest' \
                '-follow' \
                '(-fversion -flatest)-ftag:Handling Tag view-tag:_cc_views' \
                '(-ftag -flatest)-fversion:Handling Tag version-selector' \
                '(-depth -directory)-nrecurse' \
                '-visible' \
                '*:Handling Tag pname' \
                '*:Handling Tag pname' \
                '3:Handling Tag general' \
                '4:Handling Tag options'
}

(( $+functions[_cc_findmerge] )) ||
_cc_findmerge () {
        _arguments \
                '(-query -qall)-abort' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag checkout-comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-print -long -short -nxname -merge -okmerge -gmerge -okgmerge -exec -ok)-co' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-element:Handling Tag query' \
                '(-print -long -short -nxname -merge -okmerge -gmerge -okgmerge -ok -co)-exec:Handling Tag command-invocation' \
                '-fcsets' \
                '(-ftag -fversion)-flatest' \
                '(-fversion -flatest)-ftag:Handling Tag view-tag:_cc_views' \
                '(-ftag -flatest)-fversion:Handling Tag version-selector' \
                '(-print -long -short -nxname -merge -okmerge -exec -ok -co -okgmerge)-gmerge' \
                '-group:Handling Tag group-name' \
                '-log:Handling Tag log-pname' \
                '(-merge -okmerge -gmerge -okgmerge -exec -ok -co -short -nxname)-long' \
                '(-print -long -short -nxname -gmerge -okgmerge -exec -ok -co -okmerge)-merge' \
                '-name:Handling Tag pattern' \
                '-nback' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-merge -okmerge -gmerge -okgmerge -exec -ok -co -long -short)-nxname' \
                '-nzero' \
                '(-print -long -short -nxname -merge -okmerge -gmerge -okgmerge -exec -co)-ok:Handling Tag command-invocation' \
                '(-print -long -short -nxname -merge -okmerge -exec -ok -co -gmerge)-okgmerge' \
                '(-print -long -short -nxname -gmerge -okgmerge -exec -ok -co -merge)-okmerge' \
                '(-merge -okmerge -gmerge -okgmerge -exec -ok -co)-print' \
                '(-query -abort)-qall' \
                '(-abort -qall)-query' \
                '-serial' \
                '(-merge -okmerge -gmerge -okgmerge -exec -ok -co -long -nxname)-short' \
                '-type::(f d fd)' \
                '-unreserved' \
                '-user:Handling Tag login-name' \
                '-whynot' \
                '*:Handling Tag activity-selector' \
                '2:Handling Tag general' \
                '3:Handling Tag options'
}

(( $+functions[_cc_find] )) ||
_cc_find () {
        _arguments \
                '(-avobs -visible -nvisible)-all' \
                '(-all -visible -nvisible)-avobs' \
                '-branch:Handling Tag query' \
                '-cview' \
                '(-nrecurse -directory)-depth' \
                '(-depth -nrecurse)-directory' \
                '-element:Handling Tag query' \
                '(-print -ok)-exec:Handling Tag command-invocation' \
                '-follow' \
                '-group:Handling Tag group-name' \
                '-name:Handling Tag pattern' \
                '(-depth -directory)-nrecurse' \
                '(-avobs -visible -visible -visible)-nvisible' \
                '-nxname' \
                '(-print -exec)-ok:Handling Tag command-invocation' \
                '(-exec -ok)-print' \
                '-type::(f d l)' \
                '-user:Handling Tag login-name' \
                '-version:Handling Tag query' \
                '(-avobs -nvisible -nvisible -nvisible)-visible' \
                '*:Handling Tag pname' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_ls] )) ||
_cc_ls () {
        _arguments \
                '(-recurse)-directory' \
                '(-short)-long' \
                '-nxname' \
                '(-directory)-recurse' \
                '(-long)-short' \
                '(-vob_only)-view_only' \
                '-visible' \
                '(-view_only)-vob_only' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_describe] )) ||
_cc_describe () {
        _arguments \
                '-graphical:Handling Tag pname'
}

(( $+functions[_cc_describe] )) ||
_cc_describe () {
        _arguments \
                '-aattr' \
                '-ahlink' \
                '-alabel' \
                '(-cview -version -ancestor -ihlink -predecessor -pname -type -cact -cwork)-all' \
                '(-type -cact -cwork -version)-ancestor' \
                '(-cview -version -ancestor -ihlink -all -predecessor -pname -type -cwork)-cact' \
                '(-type -cact -cwork)-cview' \
                '(-cview -version -ancestor -ihlink -all -predecessor -pname -type -cact)-cwork' \
                '(-long -short)-fmt:Handling Tag format' \
                '(-type -cact -cwork)-ihlink' \
                '-local' \
                '(-short -fmt)-long' \
                '(-type -cact -cwork)-pname' \
                '(-type -cact -cwork)-predecessor' \
                '(-long -fmt)-short' \
                '(-cview -version -ancestor -ihlink -all -predecessor -pname -cact -cwork)-type:Handling Tag type-selector' \
                '(-type -cact -cwork -ancestor)-version:Handling Tag version-selector' \
                '1:Handling Tag label-type-selector' \
                '2:Handling Tag attr-type-selector' \
                '3:Handling Tag hlink-type-selector' \
                '4:Handling Tag hlink-type-selector' \
                '*:Handling Tag pname' \
                '*:Handling Tag object_selector'
}

(( $+functions[_cc_lshistory] )) ||
_cc_lshistory () {
        _arguments \
                '(-recurse -directory -avobs)-all' \
                '(-recurse -directory -all)-avobs' \
                '-branch:Handling Tag branch-type-selector' \
                '(-recurse -all -avobs)-directory' \
                '-graphical' \
                '-minor' \
                '-nco' \
                '-nopreferences' \
                '()-pname' \
                '(-directory -all -avobs)-recurse' \
                '-since:Handling Tag date-time' \
                '-user:Handling Tag login-name' \
                '*:Handling Tag pname' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_lshistory] )) ||
_cc_lshistory () {
        _arguments \
                '(-recurse -directory -avobs -local)-all' \
                '(-recurse -directory -all -local)-avobs' \
                '-branch:Handling Tag branch-type-selector' \
                '(-recurse -all -avobs -local)-directory' \
                '-eventid' \
                '(-long -short)-fmt:Handling Tag format' \
                '-last:Handling Tag #_lines' \
                '(-recurse -directory -all -avobs)-local' \
                '(-short -fmt)-long' \
                '(-user)-me' \
                '-minor' \
                '-nco' \
                '()-pname' \
                '(-directory -all -avobs -local)-recurse' \
                '(-long -fmt)-short' \
                '-since:Handling Tag date-time' \
                '(-me)-user:Handling Tag login-name' \
                '*:Handling Tag pname' \
                '*:Handling Tag object-selector'
}

(( $+functions[_cc_lsvtree] )) ||
_cc_lsvtree () {
        _arguments \
                '-all' \
                '-graphical' \
                '-nco' \
                '-nmerge' \
                '-options:Handling Tag pass-through-opts' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_lsvtree] )) ||
_cc_lsvtree () {
        _arguments \
                '-all' \
                '-branch:Handling Tag branch-pname' \
                '-merge' \
                '-nco' \
                '-nrecurse' \
                '-obsolete' \
                '-short' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_annotate] )) ||
_cc_annotate () {
        _arguments \
                '(-rm)-all' \
                '(-short -long)-fmt:Handling Tag format' \
                '(-ndata)-force' \
                '(-short -fmt)-long' \
                '-nco' \
                '(-force)-ndata' \
                '-nheader' \
                '-out:Handling Tag dir-' \
                '(-all)-rm' \
                '-rmfmt:Handling Tag rm-format' \
                '(-long -fmt)-short' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_lsdo] )) ||
_cc_lsdo () {
        _arguments \
                '(-long -short)-fmt:Handling Tag format' \
                '(-short -fmt)-long' \
                '-me' \
                '-nshareable_dos' \
                '-recurse' \
                '(-long -fmt)-short' \
                '(-stime)-sname' \
                '(-sname)-stime' \
                '-zero' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_rmdo] )) ||
_cc_rmdo () {
        _arguments \
                '*:Handling Tag do-pname'
}

(( $+functions[_cc_rmdo] )) ||
_cc_rmdo () {
        _arguments \
                '(-zero)-all' \
                '(-all)-zero' \
                '*:Handling Tag pname'
}

(( $+functions[_cc_catcr] )) ||
_cc_catcr () {
        _arguments \
                '(-recurse -flat -union -makefile)-check' \
                '-ci' \
                '-critical_only' \
                '-element_only' \
                '(-recurse -union -check -union -makefile)-flat' \
                '(-short)-long' \
                '(-recurse -flat -union -check -union)-makefile' \
                '-name:Handling Tag tail-pattern' \
                '-nxname' \
                '(-flat -union -check -union -makefile)-recurse' \
                '-select:Handling Tag do-leaf-pattern' \
                '(-long)-short' \
                '-type::(f d l)' \
                '(-recurse -flat -check -makefile)-union' \
                '-view_only' \
                '-wd' \
                '-zero' \
                '*:Handling Tag do-pname'
}

(( $+functions[_cc_diffcr] )) ||
_cc_diffcr () {
        _arguments \
                '-ci' \
                '-critical_only' \
                '-element_only' \
                '(-recurse)-flat' \
                '(-short)-long' \
                '-name:Handling Tag tail-pattern' \
                '-nxname' \
                '(-flat)-recurse' \
                '-select:Handling Tag do-leaf-patt' \
                '(-long)-short' \
                '-type::(f d l)' \
                '-view_only' \
                '-wd' \
                '1:Handling Tag do-pname' \
                '2:Handling Tag do-pname'
}

(( $+functions[_cc_winkin] )) ||
_cc_winkin () {
        _arguments \
                '-adirs' \
                '-noverwrite' \
                '-out:Handling Tag output-pname' \
                '-print' \
                '-siblings' \
                '*:Handling Tag do-pname'
}

(( $+functions[_cc_winkin] )) ||
_cc_winkin () {
        _arguments \
                '-adirs' \
                '-ci' \
                '-noverwrite' \
                '-print' \
                '-recurse' \
                '-select:Handling Tag do-leaf-pattern' \
                '*:Handling Tag do-pname'
}

(( $+functions[_cc_mktag] )) ||
_cc_mktag () {
        _arguments \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '-ncaexported' \
                '-nstart' \
                '(-replace)-region:Handling Tag network-region' \
                '(-region)-replace' \
                '-tag:Handling Tag view-tag:_cc_views' \
                '-tcomment:Handling Tag tag-comment' \
                '-view' \
                '1:Handling Tag view-storage-pname'
}

(( $+functions[_cc_mktag] )) ||
_cc_mktag () {
        _arguments \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '-ncaexported' \
                '-options:Handling Tag mount-options' \
                '-password:Handling Tag tag-registry-password' \
                '-public' \
                '(-replace)-region:Handling Tag network-region' \
                '(-region)-replace' \
                '-tag:Handling Tag vob-tag' \
                '-tcomment:Handling Tag tag-comment' \
                '-vob' \
                '1:Handling Tag vob-storage-pname'
}

(( $+functions[_cc_rmtag] )) ||
_cc_rmtag () {
        _arguments \
                '(-region)-all' \
                '(-all)-region:Handling Tag network-region' \
                '-view' \
                '*:Handling Tag view-tag:_cc_views'
}

(( $+functions[_cc_rmtag] )) ||
_cc_rmtag () {
        _arguments \
                '(-region)-all' \
                '-password:Handling Tag tag-registry-password' \
                '(-all)-region:Handling Tag network-region' \
                '-vob' \
                '*:Handling Tag vob-tag'
}

(( $+functions[_cc_register] )) ||
_cc_register () {
        _arguments \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '-replace' \
                '-view' \
                '1:Handling Tag view-storage-pname'
}

(( $+functions[_cc_register] )) ||
_cc_register () {
        _arguments \
                '-gpath:Handling Tag global-stg-pname' \
                '-host:Handling Tag hostname' \
                '-hpath:Handling Tag host-stg-pname' \
                '(-ucmproject)-process' \
                '-replace' \
                '(-process)-ucmproject' \
                '-vob' \
                '1:Handling Tag vob-storage-pname'
}

(( $+functions[_cc_unregister] )) ||
_cc_unregister () {
        _arguments \
                '()-uuid:Handling Tag uuid' \
                '-vob' \
                '1:Handling Tag vob-storage-dir-pname'
}

(( $+functions[_cc_unregister] )) ||
_cc_unregister () {
        _arguments \
                '()-uuid:Handling Tag uuid' \
                '-view' \
                '1:Handling Tag view-storage-dir-pname'
}

(( $+functions[_cc_mkregion] )) ||
_cc_mkregion () {
        _arguments \
                '-replace' \
                '-tag:Handling Tag region-tag' \
                '-tcomment:Handling Tag tag-comment'
}

(( $+functions[_cc_rmregion] )) ||
_cc_rmregion () {
        _arguments \
                '-password:Handling Tag tag-registry-password' \
                '-rmall' \
                '-tag:Handling Tag region-tag'
}

(( $+functions[_cc_lsregion] )) ||
_cc_lsregion () {
        _arguments \
                '(-short)-long' \
                '(-long)-short' \
                '*:Handling Tag region-tag-pattern'
}

(( $+functions[_cc_lssite] )) ||
_cc_lssite () {
        _arguments \
                '()-inquire' \
                '1:Handling Tag setting-name'
}

(( $+functions[_cc_setsite] )) ||
_cc_setsite () {
        _arguments \
                '-password:Handling Tag registry-password' \
                '1:Handling Tag setting-name=value'
}

(( $+functions[_cc_setsite] )) ||
_cc_setsite () {
        _arguments \
                '-password:Handling Tag registry-password' \
                '1:Handling Tag setting-name='
}

(( $+functions[_cc_mkactivity] )) ||
_cc_mkactivity () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '-headline:Handling Tag headline' \
                '-in:Handling Tag stream-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '-nset' \
                '*:Handling Tag activity-selector'
}

(( $+functions[_cc_rmactivity] )) ||
_cc_rmactivity () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag activity-selector'
}

(( $+functions[_cc_mkfolder] )) ||
_cc_mkfolder () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-in:Handling Tag folder-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '-title:Handling Tag title'
}

(( $+functions[_cc_rmfolder] )) ||
_cc_rmfolder () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag folder-selector'
}

(( $+functions[_cc_mkproject] )) ||
_cc_mkproject () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-crmenable:Handling Tag user-database-name' \
                '-in:Handling Tag folder-selector' \
                '-modcomp:Handling Tag component-selector' \
                '(-c -cfile -cq -cqe)-nc' \
                '-title:Handling Tag title'
}

(( $+functions[_cc_rmproject] )) ||
_cc_rmproject () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag project-selector'
}

(( $+functions[_cc_mkstream] )) ||
_cc_mkstream () {
        _arguments \
                '-baseline:Handling Tag baseline-selector' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-in:Handling Tag project-selector' \
                '-integration' \
                '(-c -cfile -cq -cqe)-nc' \
                '-title:Handling Tag title'
}

(( $+functions[_cc_rmstream] )) ||
_cc_rmstream () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag stream-selector'
}

(( $+functions[_cc_setactivity] )) ||
_cc_setactivity () {
        _arguments \
                '(-cfile -cq -nc)-c:Handling Tag comment' \
                '(-c -cq -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -nc)-cq' \
                '(-c -cfile -cq)-nc' \
                '()-none' \
                '-view:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag activity-selector'
}

(( $+functions[_cc_chfolder] )) ||
_cc_chfolder () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-title:Handling Tag title' \
                '-to:Handling Tag folder-selector' \
                '*:Handling Tag folder-selector'
}

(( $+functions[_cc_chproject] )) ||
_cc_chproject () {
        _arguments \
                '-amodcomp:Handling Tag component-selector' \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-ncrmenable)-crmenable:Handling Tag user-database-name' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-crmenable)-ncrmenable' \
                '-npolicy:Handling Tag policy-keyword' \
                '-policy:Handling Tag policy-keyword' \
                '-rebase_level:Handling Tag promotion-level' \
                '-title:Handling Tag title' \
                '-to:Handling Tag folder-selector' \
                '*:Handling Tag project-selector'
}

(( $+functions[_cc_chstream] )) ||
_cc_chstream () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-c -cfile -cq -cqe)-nc' \
                '-title:Handling Tag title' \
                '*:Handling Tag stream-selector'
}

(( $+functions[_cc_chactivity] )) ||
_cc_chactivity () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-headline)-fcset:Handling Tag src-activity-selector' \
                '(-fcset -tcset)-headline:Handling Tag headline' \
                '(-c -cfile -cq -cqe)-nc' \
                '(-headline)-tcset:Handling Tag dest-activity-selector'
}

(( $+functions[_cc_mkcomp] )) ||
_cc_mkcomp () {
        _arguments \
                '(-cfile -cq -nc)-c:Handling Tag comment' \
                '(-c -cq -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -nc)-cq' \
                '(-c -cfile -cq)-nc' \
                '-root:Handling Tag dir-pname'
}

(( $+functions[_cc_rmcomp] )) ||
_cc_rmcomp () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag component-selector'
}

(( $+functions[_cc_lscomp] )) ||
_cc_lscomp () {
        _arguments \
                '(-short -long -tree)-fmt:Handling Tag format' \
                '()-invob:Handling Tag vob-selector' \
                '(-short -fmt -tree)-long' \
                '(-long -fmt -tree)-short' \
                '(-short -long -fmt)-tree' \
                '*:Handling Tag component-selector'
}

(( $+functions[_cc_mkbl] )) ||
_cc_mkbl () {
        _arguments \
                '(-component -all)-activities:Handling Tag activity_selector' \
                '(-component -activities)-all' \
                '(-cfile -cq -nc)-c:Handling Tag comment' \
                '(-c -cq -nc)-cfile:Handling Tag pname' \
                '(-all -activities)-component:Handling Tag component-selector' \
                '(-c -cfile -nc)-cq' \
                '(-nlabel -incremental)-full' \
                '-identical' \
                '(-nlabel -full)-incremental' \
                '(-c -cfile -cq)-nc' \
                '(-incremental -full)-nlabel' \
                '-view:Handling Tag view-tag:_cc_views' \
                '1:Handling Tag baseline-root-name'
}

(( $+functions[_cc_mkbl] )) ||
_cc_mkbl () {
        _arguments \
                '(-cfile -cq -nc)-c:Handling Tag comment' \
                '(-c -cq -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -nc)-cq' \
                '-import:Handling Tag label-type-selector' \
                '(-c -cfile -cq)-nc'
}

(( $+functions[_cc_rmbl] )) ||
_cc_rmbl () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '-force' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag baseline-selector'
}

(( $+functions[_cc_chbl] )) ||
_cc_chbl () {
        _arguments \
                '(-cfile -cq -cqe -nc)-c:Handling Tag comment' \
                '(-c -cq -cqe -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -cqe -nc)-cq' \
                '(-c -cfile -cq -nc)-cqe' \
                '(-incremental)-full' \
                '(-full)-incremental' \
                '-level:Handling Tag promotion-level' \
                '(-c -cfile -cq -cqe)-nc' \
                '*:Handling Tag baseline-selector'
}

(( $+functions[_cc_lsbl] )) ||
_cc_lsbl () {
        _arguments \
                '(-stream)-component:Handling Tag component-selector' \
                '(-short -long)-fmt:Handling Tag format' \
                '(-level)-gtlevel:Handling Tag promotion-level' \
                '(-ltlevel -gtlevel)-level:Handling Tag promotion-level' \
                '(-short -fmt)-long' \
                '(-level)-ltlevel:Handling Tag promotion-level' \
                '(-long -fmt)-short' \
                '(-component)-stream:Handling Tag stream-selector' \
                '-tree'
}

(( $+functions[_cc_lsbl] )) ||
_cc_lsbl () {
        _arguments \
                '(-short -long)-fmt:Handling Tag format' \
                '(-short -fmt)-long' \
                '(-long -fmt)-short' \
                '-tree' \
                '*:Handling Tag baseline-selector'
}

(( $+functions[_cc_diffbl] )) ||
_cc_diffbl () {
        _arguments \
                '-activities' \
                '-first_only' \
                '-versions' \
                '1:Handling Tag baseline-selector1' \
                '2:Handling Tag stream-selector1' \
                '3:Handling Tag baseline-selector2' \
                '4:Handling Tag stream-selector2'
}

(( $+functions[_cc_lsfolder] )) ||
_cc_lsfolder () {
        _arguments \
                '(-short -long -fmt -tree -fmt -depth)-ancestor' \
                '(-invob -in -view)-cview' \
                '(-short -long -fmt -ancestor -fmt)-depth:Handling Tag depth' \
                '(-short -long -tree -depth -ancestor -depth)-fmt:Handling Tag format' \
                '(-invob -view -cview)-in:Handling Tag folder-selector' \
                '(-in -view -cview)-invob:Handling Tag vob-selector' \
                '(-short -fmt -tree -fmt -depth -ancestor -fmt -depth)-long' \
                '(-long -fmt -tree -fmt -depth -ancestor -fmt -depth)-short' \
                '(-short -long -fmt -ancestor -fmt -depth)-tree' \
                '(-invob -in -cview)-view:Handling Tag view-tag:_cc_views' \
                '*:Handling Tag folder-selector'
}

(( $+functions[_cc_lsproject] )) ||
_cc_lsproject () {
        _arguments \
                '(-short -long -fmt -tree -fmt -depth)-ancestor' \
                '(-invob -in -view)-cview' \
                '(-short -long -fmt -ancestor -fmt)-depth:Handling Tag depth' \
                '(-short -long -tree -depth -ancestor -depth)-fmt:Handling Tag format' \
                '(-invob -view -cview)-in:Handling Tag folder-selector' \
                '(-in -view -cview)-invob:Handling Tag vob-selector' \
                '(-short -fmt -tree -fmt -depth -ancestor -fmt -depth)-long' \
                '(-long -fmt -tree -fmt -depth -ancestor -fmt -depth)-short' \
                '(-short -long -fmt -ancestor -fmt -depth)-tree' \
                '(-invob -in -cview)-view:Handling Tag view-tag:_cc_views' \
                '*:Handling Tag project-selector'
}

(( $+functions[_cc_lsstream] )) ||
_cc_lsstream () {
        _arguments \
                '(-short -long -fmt -tree -fmt -depth)-ancestor' \
                '(-invob -in -view)-cview' \
                '(-short -long -fmt -ancestor -fmt)-depth:Handling Tag depth' \
                '(-short -long -tree -depth -ancestor -depth)-fmt:Handling Tag format' \
                '(-invob -view -cview)-in:Handling Tag project-selector' \
                '(-in -view -cview)-invob:Handling Tag vob-selector' \
                '(-short -fmt -tree -fmt -depth -ancestor -fmt -depth)-long' \
                '(-long -fmt -tree -fmt -depth -ancestor -fmt -depth)-short' \
                '(-short -long -fmt -ancestor -fmt -depth)-tree' \
                '(-invob -in -cview)-view:Handling Tag view-tag:_cc_views' \
                '*:Handling Tag stream-selector'
}

(( $+functions[_cc_lsactivity] )) ||
_cc_lsactivity () {
        _arguments \
                '(-short -long -fmt)-ancestor' \
                '(-invob -in -view -cview)-cact' \
                '(-invob -in -cact -cact -view)-cview' \
                '(-short -long -fmt)-depth:Handling Tag depth' \
                '(-short -long -ancestor -depth)-fmt:Handling Tag format' \
                '(-invob -cact -cact -view -cview)-in:Handling Tag stream-selector' \
                '(-in -cact -cact -view -cview)-invob:Handling Tag vob-selector' \
                '(-short -fmt -ancestor -fmt -depth)-long' \
                '(-long -fmt -ancestor -fmt -depth)-short' \
                '(-invob -in -cact -cview)-view:Handling Tag view-tag:_cc_views' \
                '*:Handling Tag activity-selector'
}

(( $+functions[_cc_deliver] )) ||
_cc_deliver () {
        _arguments \
                '-graphical' \
                '-stream:Handling Tag stream-selector'
}

(( $+functions[_cc_deliver] )) ||
_cc_deliver () {
        _arguments \
                '(-status -long)-cancel' \
                '(-cancel)-long' \
                '(-cancel)-status' \
                '-stream:Handling Tag stream-selector'
}

(( $+functions[_cc_deliver] )) ||
_cc_deliver () {
        _arguments \
                '(-query -qall)-abort' \
                '-activities:Handling Tag activity-selector' \
                '-complete' \
                '-force' \
                '(-ok)-gmerge' \
                '(-short)-long' \
                '(-gmerge)-ok' \
                '-preview' \
                '(-query -abort)-qall' \
                '(-abort -qall)-query' \
                '-serial' \
                '(-long)-short' \
                '-stream:Handling Tag stream-selector' \
                '-to:Handling Tag integration-view-tag:_cc_views'
}

(( $+functions[_cc_deliver] )) ||
_cc_deliver () {
        _arguments \
                '(-query -qall)-abort' \
                '(-resume)-complete' \
                '-force' \
                '(-ok)-gmerge' \
                '(-gmerge)-ok' \
                '(-query -abort)-qall' \
                '(-abort -qall)-query' \
                '(-complete)-resume' \
                '-serial' \
                '-stream:Handling Tag stream-selector'
}

(( $+functions[_cc_rebase] )) ||
_cc_rebase () {
        _arguments \
                '-graphical' \
                '-view:Handling Tag rebase-view-tag:_cc_views'
}

(( $+functions[_cc_rebase] )) ||
_cc_rebase () {
        _arguments \
                '(-status -long)-cancel' \
                '(-cancel)-long' \
                '(-cancel)-status' \
                '-view:Handling Tag rebase-view-tag:_cc_views'
}

(( $+functions[_cc_rebase] )) ||
_cc_rebase () {
        _arguments \
                '(-query -qall)-abort' \
                '(-recommended -dbaseline)-baseline:Handling Tag baseline-selector' \
                '()-complete' \
                '(-recommended -baseline)-dbaseline:Handling Tag baseline-selector' \
                '()-force' \
                '(-ok)-gmerge' \
                '(-short)-long' \
                '(-gmerge)-ok' \
                '()-preview' \
                '(-query -abort)-qall' \
                '(-abort -qall)-query' \
                '(-baseline -dbaseline)-recommended' \
                '()-serial' \
                '(-long)-short' \
                '()-view:Handling Tag rebase-view-tag:_cc_views'
}

(( $+functions[_cc_rebase] )) ||
_cc_rebase () {
        _arguments \
                '(-query -qall)-abort' \
                '(-resume)-complete' \
                '-force' \
                '(-ok)-gmerge' \
                '(-gmerge)-ok' \
                '(-query -abort)-qall' \
                '(-abort -qall)-query' \
                '(-complete)-resume' \
                '-serial' \
                '-view:Handling Tag rebase-view-tag:_cc_views'
}

(( $+functions[_cc_setplevel] )) ||
_cc_setplevel () {
        _arguments \
                '(-cfile -cq -nc)-c:Handling Tag comment' \
                '(-c -cq -nc)-cfile:Handling Tag pname' \
                '(-c -cfile -nc)-cq' \
                '-default:Handling Tag promotion-level' \
                '-invob:Handling Tag vob-selector' \
                '(-c -cfile -cq)-nc'
}

(( $+functions[_cc_schedule] )) ||
_cc_schedule () {
        _arguments \
                '(-get -schedule -job -tasks -set -schedule -delete -run -wait -status -schedule -schedule -job -tasks -schedule)-acl' \
                '(-edit -schedule -acl -get -schedule -job -tasks -acl -set -schedule -acl -run -wait -status)-delete' \
                '(-get -schedule -job -tasks -acl -set -schedule -acl -delete -run -wait -status)-edit' \
                '-force' \
                '(-edit -schedule -acl -set -schedule -acl -delete -run -wait -status)-get' \
                '-host:Handling Tag hostname' \
                '(-edit -schedule -acl -set -schedule -acl -delete -run -wait -status -schedule -tasks -acl)-job:Handling Tag job_id_or_name' \
                '(-edit -schedule -acl -get -schedule -job -tasks -acl -set -schedule -acl -delete -wait -status)-run' \
                '(-get -job -tasks -acl -set -acl -delete -run -wait -status -acl -job -tasks -acl -acl)-schedule' \
                '(-edit -schedule -acl -get -schedule -job -tasks -acl -delete -run -wait -status)-set' \
                '(-edit -schedule -acl -get -schedule -job -tasks -acl -set -schedule -acl -delete -run -wait)-status' \
                '(-edit -schedule -acl -set -schedule -acl -delete -run -wait -status -schedule -job -acl)-tasks' \
                '(-edit -schedule -acl -get -schedule -job -tasks -acl -set -schedule -acl -delete -run -status)-wait' \
                '1:Handling Tag defn_file_pname' \
                '2:Handling Tag job_id_or_name'
}


#Now call redefined function
_cleartool "$*"