_jj() { local i cur prev opts cmd COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" cmd="" opts="" for i in ${COMP_WORDS[@]} do case "${cmd},${i}" in ",$1") cmd="jj" ;; jj,abandon) cmd="jj__abandon" ;; jj,amend) cmd="jj__squash" ;; jj,backout) cmd="jj__backout" ;; jj,branch) cmd="jj__branch" ;; jj,cat) cmd="jj__cat" ;; jj,checkout) cmd="jj__checkout" ;; jj,chmod) cmd="jj__chmod" ;; jj,ci) cmd="jj__commit" ;; jj,co) cmd="jj__checkout" ;; jj,commit) cmd="jj__commit" ;; jj,config) cmd="jj__config" ;; jj,debug) cmd="jj__debug" ;; jj,describe) cmd="jj__describe" ;; jj,diff) cmd="jj__diff" ;; jj,diffedit) cmd="jj__diffedit" ;; jj,duplicate) cmd="jj__duplicate" ;; jj,edit) cmd="jj__edit" ;; jj,files) cmd="jj__files" ;; jj,git) cmd="jj__git" ;; jj,help) cmd="jj__help" ;; jj,init) cmd="jj__init" ;; jj,interdiff) cmd="jj__interdiff" ;; jj,log) cmd="jj__log" ;; jj,merge) cmd="jj__merge" ;; jj,move) cmd="jj__move" ;; jj,new) cmd="jj__new" ;; jj,obslog) cmd="jj__obslog" ;; jj,op) cmd="jj__operation" ;; jj,operation) cmd="jj__operation" ;; jj,rebase) cmd="jj__rebase" ;; jj,resolve) cmd="jj__resolve" ;; jj,restore) cmd="jj__restore" ;; jj,show) cmd="jj__show" ;; jj,sparse) cmd="jj__sparse" ;; jj,split) cmd="jj__split" ;; jj,squash) cmd="jj__squash" ;; jj,st) cmd="jj__status" ;; jj,status) cmd="jj__status" ;; jj,unamend) cmd="jj__unsquash" ;; jj,undo) cmd="jj__undo" ;; jj,unsquash) cmd="jj__unsquash" ;; jj,untrack) cmd="jj__untrack" ;; jj,util) cmd="jj__util" ;; jj,version) cmd="jj__version" ;; jj,workspace) cmd="jj__workspace" ;; jj__branch,c) cmd="jj__branch__create" ;; jj__branch,create) cmd="jj__branch__create" ;; jj__branch,d) cmd="jj__branch__delete" ;; jj__branch,delete) cmd="jj__branch__delete" ;; jj__branch,f) cmd="jj__branch__forget" ;; jj__branch,forget) cmd="jj__branch__forget" ;; jj__branch,help) cmd="jj__branch__help" ;; jj__branch,l) cmd="jj__branch__list" ;; jj__branch,list) cmd="jj__branch__list" ;; jj__branch,s) cmd="jj__branch__set" ;; jj__branch,set) cmd="jj__branch__set" ;; jj__branch__help,create) cmd="jj__branch__help__create" ;; jj__branch__help,delete) cmd="jj__branch__help__delete" ;; jj__branch__help,forget) cmd="jj__branch__help__forget" ;; jj__branch__help,help) cmd="jj__branch__help__help" ;; jj__branch__help,list) cmd="jj__branch__help__list" ;; jj__branch__help,set) cmd="jj__branch__help__set" ;; jj__config,e) cmd="jj__config__edit" ;; jj__config,edit) cmd="jj__config__edit" ;; jj__config,g) cmd="jj__config__get" ;; jj__config,get) cmd="jj__config__get" ;; jj__config,help) cmd="jj__config__help" ;; jj__config,l) cmd="jj__config__list" ;; jj__config,list) cmd="jj__config__list" ;; jj__config,s) cmd="jj__config__set" ;; jj__config,set) cmd="jj__config__set" ;; jj__config__help,edit) cmd="jj__config__help__edit" ;; jj__config__help,get) cmd="jj__config__help__get" ;; jj__config__help,help) cmd="jj__config__help__help" ;; jj__config__help,list) cmd="jj__config__help__list" ;; jj__config__help,set) cmd="jj__config__help__set" ;; jj__debug,help) cmd="jj__debug__help" ;; jj__debug,index) cmd="jj__debug__index" ;; jj__debug,operation) cmd="jj__debug__operation" ;; jj__debug,reindex) cmd="jj__debug__reindex" ;; jj__debug,revset) cmd="jj__debug__revset" ;; jj__debug,template) cmd="jj__debug__template" ;; jj__debug,view) cmd="jj__debug__operation" ;; jj__debug,workingcopy) cmd="jj__debug__workingcopy" ;; jj__debug__help,help) cmd="jj__debug__help__help" ;; jj__debug__help,index) cmd="jj__debug__help__index" ;; jj__debug__help,operation) cmd="jj__debug__help__operation" ;; jj__debug__help,reindex) cmd="jj__debug__help__reindex" ;; jj__debug__help,revset) cmd="jj__debug__help__revset" ;; jj__debug__help,template) cmd="jj__debug__help__template" ;; jj__debug__help,workingcopy) cmd="jj__debug__help__workingcopy" ;; jj__git,clone) cmd="jj__git__clone" ;; jj__git,export) cmd="jj__git__export" ;; jj__git,fetch) cmd="jj__git__fetch" ;; jj__git,help) cmd="jj__git__help" ;; jj__git,import) cmd="jj__git__import" ;; jj__git,push) cmd="jj__git__push" ;; jj__git,remote) cmd="jj__git__remote" ;; jj__git,submodule) cmd="jj__git__submodule" ;; jj__git__help,clone) cmd="jj__git__help__clone" ;; jj__git__help,export) cmd="jj__git__help__export" ;; jj__git__help,fetch) cmd="jj__git__help__fetch" ;; jj__git__help,help) cmd="jj__git__help__help" ;; jj__git__help,import) cmd="jj__git__help__import" ;; jj__git__help,push) cmd="jj__git__help__push" ;; jj__git__help,remote) cmd="jj__git__help__remote" ;; jj__git__help,submodule) cmd="jj__git__help__submodule" ;; jj__git__help__remote,add) cmd="jj__git__help__remote__add" ;; jj__git__help__remote,list) cmd="jj__git__help__remote__list" ;; jj__git__help__remote,remove) cmd="jj__git__help__remote__remove" ;; jj__git__help__remote,rename) cmd="jj__git__help__remote__rename" ;; jj__git__help__submodule,print-gitmodules) cmd="jj__git__help__submodule__print__gitmodules" ;; jj__git__remote,add) cmd="jj__git__remote__add" ;; jj__git__remote,help) cmd="jj__git__remote__help" ;; jj__git__remote,list) cmd="jj__git__remote__list" ;; jj__git__remote,remove) cmd="jj__git__remote__remove" ;; jj__git__remote,rename) cmd="jj__git__remote__rename" ;; jj__git__remote__help,add) cmd="jj__git__remote__help__add" ;; jj__git__remote__help,help) cmd="jj__git__remote__help__help" ;; jj__git__remote__help,list) cmd="jj__git__remote__help__list" ;; jj__git__remote__help,remove) cmd="jj__git__remote__help__remove" ;; jj__git__remote__help,rename) cmd="jj__git__remote__help__rename" ;; jj__git__submodule,help) cmd="jj__git__submodule__help" ;; jj__git__submodule,print-gitmodules) cmd="jj__git__submodule__print__gitmodules" ;; jj__git__submodule__help,help) cmd="jj__git__submodule__help__help" ;; jj__git__submodule__help,print-gitmodules) cmd="jj__git__submodule__help__print__gitmodules" ;; jj__help,abandon) cmd="jj__help__abandon" ;; jj__help,backout) cmd="jj__help__backout" ;; jj__help,branch) cmd="jj__help__branch" ;; jj__help,cat) cmd="jj__help__cat" ;; jj__help,checkout) cmd="jj__help__checkout" ;; jj__help,chmod) cmd="jj__help__chmod" ;; jj__help,commit) cmd="jj__help__commit" ;; jj__help,config) cmd="jj__help__config" ;; jj__help,debug) cmd="jj__help__debug" ;; jj__help,describe) cmd="jj__help__describe" ;; jj__help,diff) cmd="jj__help__diff" ;; jj__help,diffedit) cmd="jj__help__diffedit" ;; jj__help,duplicate) cmd="jj__help__duplicate" ;; jj__help,edit) cmd="jj__help__edit" ;; jj__help,files) cmd="jj__help__files" ;; jj__help,git) cmd="jj__help__git" ;; jj__help,help) cmd="jj__help__help" ;; jj__help,init) cmd="jj__help__init" ;; jj__help,interdiff) cmd="jj__help__interdiff" ;; jj__help,log) cmd="jj__help__log" ;; jj__help,merge) cmd="jj__help__merge" ;; jj__help,move) cmd="jj__help__move" ;; jj__help,new) cmd="jj__help__new" ;; jj__help,obslog) cmd="jj__help__obslog" ;; jj__help,operation) cmd="jj__help__operation" ;; jj__help,rebase) cmd="jj__help__rebase" ;; jj__help,resolve) cmd="jj__help__resolve" ;; jj__help,restore) cmd="jj__help__restore" ;; jj__help,show) cmd="jj__help__show" ;; jj__help,sparse) cmd="jj__help__sparse" ;; jj__help,split) cmd="jj__help__split" ;; jj__help,squash) cmd="jj__help__squash" ;; jj__help,status) cmd="jj__help__status" ;; jj__help,undo) cmd="jj__help__undo" ;; jj__help,unsquash) cmd="jj__help__unsquash" ;; jj__help,untrack) cmd="jj__help__untrack" ;; jj__help,util) cmd="jj__help__util" ;; jj__help,version) cmd="jj__help__version" ;; jj__help,workspace) cmd="jj__help__workspace" ;; jj__help__branch,create) cmd="jj__help__branch__create" ;; jj__help__branch,delete) cmd="jj__help__branch__delete" ;; jj__help__branch,forget) cmd="jj__help__branch__forget" ;; jj__help__branch,list) cmd="jj__help__branch__list" ;; jj__help__branch,set) cmd="jj__help__branch__set" ;; jj__help__config,edit) cmd="jj__help__config__edit" ;; jj__help__config,get) cmd="jj__help__config__get" ;; jj__help__config,list) cmd="jj__help__config__list" ;; jj__help__config,set) cmd="jj__help__config__set" ;; jj__help__debug,index) cmd="jj__help__debug__index" ;; jj__help__debug,operation) cmd="jj__help__debug__operation" ;; jj__help__debug,reindex) cmd="jj__help__debug__reindex" ;; jj__help__debug,revset) cmd="jj__help__debug__revset" ;; jj__help__debug,template) cmd="jj__help__debug__template" ;; jj__help__debug,workingcopy) cmd="jj__help__debug__workingcopy" ;; jj__help__git,clone) cmd="jj__help__git__clone" ;; jj__help__git,export) cmd="jj__help__git__export" ;; jj__help__git,fetch) cmd="jj__help__git__fetch" ;; jj__help__git,import) cmd="jj__help__git__import" ;; jj__help__git,push) cmd="jj__help__git__push" ;; jj__help__git,remote) cmd="jj__help__git__remote" ;; jj__help__git,submodule) cmd="jj__help__git__submodule" ;; jj__help__git__remote,add) cmd="jj__help__git__remote__add" ;; jj__help__git__remote,list) cmd="jj__help__git__remote__list" ;; jj__help__git__remote,remove) cmd="jj__help__git__remote__remove" ;; jj__help__git__remote,rename) cmd="jj__help__git__remote__rename" ;; jj__help__git__submodule,print-gitmodules) cmd="jj__help__git__submodule__print__gitmodules" ;; jj__help__operation,log) cmd="jj__help__operation__log" ;; jj__help__operation,restore) cmd="jj__help__operation__restore" ;; jj__help__operation,undo) cmd="jj__help__operation__undo" ;; jj__help__sparse,list) cmd="jj__help__sparse__list" ;; jj__help__sparse,set) cmd="jj__help__sparse__set" ;; jj__help__util,completion) cmd="jj__help__util__completion" ;; jj__help__util,config-schema) cmd="jj__help__util__config__schema" ;; jj__help__util,mangen) cmd="jj__help__util__mangen" ;; jj__help__workspace,add) cmd="jj__help__workspace__add" ;; jj__help__workspace,forget) cmd="jj__help__workspace__forget" ;; jj__help__workspace,list) cmd="jj__help__workspace__list" ;; jj__help__workspace,root) cmd="jj__help__workspace__root" ;; jj__help__workspace,update-stale) cmd="jj__help__workspace__update__stale" ;; jj__operation,help) cmd="jj__operation__help" ;; jj__operation,log) cmd="jj__operation__log" ;; jj__operation,restore) cmd="jj__operation__restore" ;; jj__operation,undo) cmd="jj__operation__undo" ;; jj__operation__help,help) cmd="jj__operation__help__help" ;; jj__operation__help,log) cmd="jj__operation__help__log" ;; jj__operation__help,restore) cmd="jj__operation__help__restore" ;; jj__operation__help,undo) cmd="jj__operation__help__undo" ;; jj__sparse,help) cmd="jj__sparse__help" ;; jj__sparse,list) cmd="jj__sparse__list" ;; jj__sparse,set) cmd="jj__sparse__set" ;; jj__sparse__help,help) cmd="jj__sparse__help__help" ;; jj__sparse__help,list) cmd="jj__sparse__help__list" ;; jj__sparse__help,set) cmd="jj__sparse__help__set" ;; jj__util,completion) cmd="jj__util__completion" ;; jj__util,config-schema) cmd="jj__util__config__schema" ;; jj__util,help) cmd="jj__util__help" ;; jj__util,mangen) cmd="jj__util__mangen" ;; jj__util__help,completion) cmd="jj__util__help__completion" ;; jj__util__help,config-schema) cmd="jj__util__help__config__schema" ;; jj__util__help,help) cmd="jj__util__help__help" ;; jj__util__help,mangen) cmd="jj__util__help__mangen" ;; jj__workspace,add) cmd="jj__workspace__add" ;; jj__workspace,forget) cmd="jj__workspace__forget" ;; jj__workspace,help) cmd="jj__workspace__help" ;; jj__workspace,list) cmd="jj__workspace__list" ;; jj__workspace,root) cmd="jj__workspace__root" ;; jj__workspace,update-stale) cmd="jj__workspace__update__stale" ;; jj__workspace__help,add) cmd="jj__workspace__help__add" ;; jj__workspace__help,forget) cmd="jj__workspace__help__forget" ;; jj__workspace__help,help) cmd="jj__workspace__help__help" ;; jj__workspace__help,list) cmd="jj__workspace__help__list" ;; jj__workspace__help,root) cmd="jj__workspace__help__root" ;; jj__workspace__help,update-stale) cmd="jj__workspace__help__update__stale" ;; *) ;; esac done case "${cmd}" in jj) opts="-R -v -h -V --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help --version abandon backout branch cat checkout chmod commit config debug describe diff diffedit duplicate edit files git init interdiff log merge move new obslog operation rebase resolve restore show sparse split squash status util undo unsquash untrack version workspace help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__abandon) opts="-s -r -R -v -h --summary --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help [REVISIONS]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__backout) opts="-r -d -R -v -h --revision --destination --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --revision) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --destination) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -d) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help create delete forget list set help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__create) opts="-r -R -v -h --revision --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help ..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --revision) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__delete) opts="-R -v -h --glob --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help [NAMES]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --glob) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__forget) opts="-R -v -h --glob --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help [NAMES]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --glob) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help) opts="create delete forget list set help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help__create) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help__delete) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help__forget) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help__help) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help__list) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__help__set) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__list) opts="-r -R -v -h --revisions --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --revisions) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__branch__set) opts="-r -B -R -v -h --revision --allow-backwards --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help ..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --revision) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__cat) opts="-r -R -v -h --revision --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --revision) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__checkout) opts="-r -m -R -v -h --message --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --message) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -m) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__chmod) opts="-r -R -v -h --revision --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help n x ..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --revision) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -r) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__commit) opts="-m -R -v -h --message --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --message) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -m) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help list get set edit help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__edit) opts="-R -v -h --user --repo --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__get) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__help) opts="list get set edit help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__help__edit) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__help__get) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__help__help) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__help__list) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__help__set) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__list) opts="-R -v -h --include-defaults --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help [NAME]" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__config__set) opts="-R -v -h --user --repo --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help revset workingcopy template index reindex operation help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help) opts="revset workingcopy template index reindex operation help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__help) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__index) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__operation) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__reindex) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__revset) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__template) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__help__workingcopy) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__index) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__operation) opts="-R -v -h --display --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help [OPERATION]" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --display) COMPREPLY=($(compgen -W "operation id view all" -- "${cur}")) return 0 ;; --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__reindex) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__revset) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --repository) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -R) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-operation) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --at-op) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --color) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --config-toml) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; jj__debug__template) opts="-R -v -h --repository --ignore-working-copy --at-op --at-operation --verbose --color --no-pager --config-toml --help