_bootc() { local i cur prev opts cmd COMPREPLY=() if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then cur="$2" else cur="${COMP_WORDS[COMP_CWORD]}" fi prev="$3" cmd="" opts="" for i in "${COMP_WORDS[@]:0:COMP_CWORD}" do case "${cmd},${i}" in ",$1") cmd="bootc" ;; bootc,completion) cmd="bootc__completion" ;; bootc,composefs-finalize-staged) cmd="bootc__composefs__finalize__staged" ;; bootc,config-diff) cmd="bootc__config__diff" ;; bootc,container) cmd="bootc__container" ;; bootc,delete-deployment) cmd="bootc__delete__deployment" ;; bootc,edit) cmd="bootc__edit" ;; bootc,exec-in-host-mount-namespace) cmd="bootc__exec__in__host__mount__namespace" ;; bootc,help) cmd="bootc__help" ;; bootc,image) cmd="bootc__image" ;; bootc,install) cmd="bootc__install" ;; bootc,internals) cmd="bootc__internals" ;; bootc,rollback) cmd="bootc__rollback" ;; bootc,state) cmd="bootc__state" ;; bootc,status) cmd="bootc__status" ;; bootc,switch) cmd="bootc__switch" ;; bootc,upgrade) cmd="bootc__upgrade" ;; bootc,usr-overlay) cmd="bootc__usr__overlay" ;; bootc__container,compute-composefs-digest) cmd="bootc__container__compute__composefs__digest" ;; bootc__container,compute-composefs-digest-from-storage) cmd="bootc__container__compute__composefs__digest__from__storage" ;; bootc__container,export) cmd="bootc__container__export" ;; bootc__container,help) cmd="bootc__container__help" ;; bootc__container,inspect) cmd="bootc__container__inspect" ;; bootc__container,lint) cmd="bootc__container__lint" ;; bootc__container,ukify) cmd="bootc__container__ukify" ;; bootc__container__help,compute-composefs-digest) cmd="bootc__container__help__compute__composefs__digest" ;; bootc__container__help,compute-composefs-digest-from-storage) cmd="bootc__container__help__compute__composefs__digest__from__storage" ;; bootc__container__help,export) cmd="bootc__container__help__export" ;; bootc__container__help,help) cmd="bootc__container__help__help" ;; bootc__container__help,inspect) cmd="bootc__container__help__inspect" ;; bootc__container__help,lint) cmd="bootc__container__help__lint" ;; bootc__container__help,ukify) cmd="bootc__container__help__ukify" ;; bootc__help,completion) cmd="bootc__help__completion" ;; bootc__help,composefs-finalize-staged) cmd="bootc__help__composefs__finalize__staged" ;; bootc__help,config-diff) cmd="bootc__help__config__diff" ;; bootc__help,container) cmd="bootc__help__container" ;; bootc__help,delete-deployment) cmd="bootc__help__delete__deployment" ;; bootc__help,edit) cmd="bootc__help__edit" ;; bootc__help,exec-in-host-mount-namespace) cmd="bootc__help__exec__in__host__mount__namespace" ;; bootc__help,help) cmd="bootc__help__help" ;; bootc__help,image) cmd="bootc__help__image" ;; bootc__help,install) cmd="bootc__help__install" ;; bootc__help,internals) cmd="bootc__help__internals" ;; bootc__help,rollback) cmd="bootc__help__rollback" ;; bootc__help,state) cmd="bootc__help__state" ;; bootc__help,status) cmd="bootc__help__status" ;; bootc__help,switch) cmd="bootc__help__switch" ;; bootc__help,upgrade) cmd="bootc__help__upgrade" ;; bootc__help,usr-overlay) cmd="bootc__help__usr__overlay" ;; bootc__help__container,compute-composefs-digest) cmd="bootc__help__container__compute__composefs__digest" ;; bootc__help__container,compute-composefs-digest-from-storage) cmd="bootc__help__container__compute__composefs__digest__from__storage" ;; bootc__help__container,export) cmd="bootc__help__container__export" ;; bootc__help__container,inspect) cmd="bootc__help__container__inspect" ;; bootc__help__container,lint) cmd="bootc__help__container__lint" ;; bootc__help__container,ukify) cmd="bootc__help__container__ukify" ;; bootc__help__image,cmd) cmd="bootc__help__image__cmd" ;; bootc__help__image,copy-to-storage) cmd="bootc__help__image__copy__to__storage" ;; bootc__help__image,list) cmd="bootc__help__image__list" ;; bootc__help__image,pull-from-default-storage) cmd="bootc__help__image__pull__from__default__storage" ;; bootc__help__image,set-unified) cmd="bootc__help__image__set__unified" ;; bootc__help__image__cmd,build) cmd="bootc__help__image__cmd__build" ;; bootc__help__image__cmd,list) cmd="bootc__help__image__cmd__list" ;; bootc__help__image__cmd,pull) cmd="bootc__help__image__cmd__pull" ;; bootc__help__image__cmd,push) cmd="bootc__help__image__cmd__push" ;; bootc__help__install,ensure-completion) cmd="bootc__help__install__ensure__completion" ;; bootc__help__install,finalize) cmd="bootc__help__install__finalize" ;; bootc__help__install,print-configuration) cmd="bootc__help__install__print__configuration" ;; bootc__help__install,reset) cmd="bootc__help__install__reset" ;; bootc__help__install,to-disk) cmd="bootc__help__install__to__disk" ;; bootc__help__install,to-existing-root) cmd="bootc__help__install__to__existing__root" ;; bootc__help__install,to-filesystem) cmd="bootc__help__install__to__filesystem" ;; bootc__help__internals,allocate-cleanup-loopback) cmd="bootc__help__internals__allocate__cleanup__loopback" ;; bootc__help__internals,bootc-install-completion) cmd="bootc__help__internals__bootc__install__completion" ;; bootc__help__internals,cfs) cmd="bootc__help__internals__cfs" ;; bootc__help__internals,cleanup) cmd="bootc__help__internals__cleanup" ;; bootc__help__internals,composefs-gc) cmd="bootc__help__internals__composefs__gc" ;; bootc__help__internals,dir-diff) cmd="bootc__help__internals__dir__diff" ;; bootc__help__internals,fixup-etc-fstab) cmd="bootc__help__internals__fixup__etc__fstab" ;; bootc__help__internals,fsck) cmd="bootc__help__internals__fsck" ;; bootc__help__internals,fsverity) cmd="bootc__help__internals__fsverity" ;; bootc__help__internals,loopback-cleanup-helper) cmd="bootc__help__internals__loopback__cleanup__helper" ;; bootc__help__internals,ostree-container) cmd="bootc__help__internals__ostree__container" ;; bootc__help__internals,ostree-ext) cmd="bootc__help__internals__ostree__ext" ;; bootc__help__internals,prep-soft-reboot) cmd="bootc__help__internals__prep__soft__reboot" ;; bootc__help__internals,print-json-schema) cmd="bootc__help__internals__print__json__schema" ;; bootc__help__internals,reboot) cmd="bootc__help__internals__reboot" ;; bootc__help__internals,relabel) cmd="bootc__help__internals__relabel" ;; bootc__help__internals,systemd-generator) cmd="bootc__help__internals__systemd__generator" ;; bootc__help__internals,test-composefs) cmd="bootc__help__internals__test__composefs" ;; bootc__help__internals__fsverity,enable) cmd="bootc__help__internals__fsverity__enable" ;; bootc__help__internals__fsverity,measure) cmd="bootc__help__internals__fsverity__measure" ;; bootc__help__state,wipe-ostree) cmd="bootc__help__state__wipe__ostree" ;; bootc__image,cmd) cmd="bootc__image__cmd" ;; bootc__image,copy-to-storage) cmd="bootc__image__copy__to__storage" ;; bootc__image,help) cmd="bootc__image__help" ;; bootc__image,list) cmd="bootc__image__list" ;; bootc__image,pull-from-default-storage) cmd="bootc__image__pull__from__default__storage" ;; bootc__image,set-unified) cmd="bootc__image__set__unified" ;; bootc__image__cmd,build) cmd="bootc__image__cmd__build" ;; bootc__image__cmd,help) cmd="bootc__image__cmd__help" ;; bootc__image__cmd,list) cmd="bootc__image__cmd__list" ;; bootc__image__cmd,pull) cmd="bootc__image__cmd__pull" ;; bootc__image__cmd,push) cmd="bootc__image__cmd__push" ;; bootc__image__cmd__help,build) cmd="bootc__image__cmd__help__build" ;; bootc__image__cmd__help,help) cmd="bootc__image__cmd__help__help" ;; bootc__image__cmd__help,list) cmd="bootc__image__cmd__help__list" ;; bootc__image__cmd__help,pull) cmd="bootc__image__cmd__help__pull" ;; bootc__image__cmd__help,push) cmd="bootc__image__cmd__help__push" ;; bootc__image__help,cmd) cmd="bootc__image__help__cmd" ;; bootc__image__help,copy-to-storage) cmd="bootc__image__help__copy__to__storage" ;; bootc__image__help,help) cmd="bootc__image__help__help" ;; bootc__image__help,list) cmd="bootc__image__help__list" ;; bootc__image__help,pull-from-default-storage) cmd="bootc__image__help__pull__from__default__storage" ;; bootc__image__help,set-unified) cmd="bootc__image__help__set__unified" ;; bootc__image__help__cmd,build) cmd="bootc__image__help__cmd__build" ;; bootc__image__help__cmd,list) cmd="bootc__image__help__cmd__list" ;; bootc__image__help__cmd,pull) cmd="bootc__image__help__cmd__pull" ;; bootc__image__help__cmd,push) cmd="bootc__image__help__cmd__push" ;; bootc__install,ensure-completion) cmd="bootc__install__ensure__completion" ;; bootc__install,finalize) cmd="bootc__install__finalize" ;; bootc__install,help) cmd="bootc__install__help" ;; bootc__install,print-configuration) cmd="bootc__install__print__configuration" ;; bootc__install,reset) cmd="bootc__install__reset" ;; bootc__install,to-disk) cmd="bootc__install__to__disk" ;; bootc__install,to-existing-root) cmd="bootc__install__to__existing__root" ;; bootc__install,to-filesystem) cmd="bootc__install__to__filesystem" ;; bootc__install__help,ensure-completion) cmd="bootc__install__help__ensure__completion" ;; bootc__install__help,finalize) cmd="bootc__install__help__finalize" ;; bootc__install__help,help) cmd="bootc__install__help__help" ;; bootc__install__help,print-configuration) cmd="bootc__install__help__print__configuration" ;; bootc__install__help,reset) cmd="bootc__install__help__reset" ;; bootc__install__help,to-disk) cmd="bootc__install__help__to__disk" ;; bootc__install__help,to-existing-root) cmd="bootc__install__help__to__existing__root" ;; bootc__install__help,to-filesystem) cmd="bootc__install__help__to__filesystem" ;; bootc__internals,allocate-cleanup-loopback) cmd="bootc__internals__allocate__cleanup__loopback" ;; bootc__internals,bootc-install-completion) cmd="bootc__internals__bootc__install__completion" ;; bootc__internals,cfs) cmd="bootc__internals__cfs" ;; bootc__internals,cleanup) cmd="bootc__internals__cleanup" ;; bootc__internals,composefs-gc) cmd="bootc__internals__composefs__gc" ;; bootc__internals,dir-diff) cmd="bootc__internals__dir__diff" ;; bootc__internals,fixup-etc-fstab) cmd="bootc__internals__fixup__etc__fstab" ;; bootc__internals,fsck) cmd="bootc__internals__fsck" ;; bootc__internals,fsverity) cmd="bootc__internals__fsverity" ;; bootc__internals,help) cmd="bootc__internals__help" ;; bootc__internals,loopback-cleanup-helper) cmd="bootc__internals__loopback__cleanup__helper" ;; bootc__internals,ostree-container) cmd="bootc__internals__ostree__container" ;; bootc__internals,ostree-ext) cmd="bootc__internals__ostree__ext" ;; bootc__internals,prep-soft-reboot) cmd="bootc__internals__prep__soft__reboot" ;; bootc__internals,print-json-schema) cmd="bootc__internals__print__json__schema" ;; bootc__internals,reboot) cmd="bootc__internals__reboot" ;; bootc__internals,relabel) cmd="bootc__internals__relabel" ;; bootc__internals,systemd-generator) cmd="bootc__internals__systemd__generator" ;; bootc__internals,test-composefs) cmd="bootc__internals__test__composefs" ;; bootc__internals__fsverity,enable) cmd="bootc__internals__fsverity__enable" ;; bootc__internals__fsverity,help) cmd="bootc__internals__fsverity__help" ;; bootc__internals__fsverity,measure) cmd="bootc__internals__fsverity__measure" ;; bootc__internals__fsverity__help,enable) cmd="bootc__internals__fsverity__help__enable" ;; bootc__internals__fsverity__help,help) cmd="bootc__internals__fsverity__help__help" ;; bootc__internals__fsverity__help,measure) cmd="bootc__internals__fsverity__help__measure" ;; bootc__internals__help,allocate-cleanup-loopback) cmd="bootc__internals__help__allocate__cleanup__loopback" ;; bootc__internals__help,bootc-install-completion) cmd="bootc__internals__help__bootc__install__completion" ;; bootc__internals__help,cfs) cmd="bootc__internals__help__cfs" ;; bootc__internals__help,cleanup) cmd="bootc__internals__help__cleanup" ;; bootc__internals__help,composefs-gc) cmd="bootc__internals__help__composefs__gc" ;; bootc__internals__help,dir-diff) cmd="bootc__internals__help__dir__diff" ;; bootc__internals__help,fixup-etc-fstab) cmd="bootc__internals__help__fixup__etc__fstab" ;; bootc__internals__help,fsck) cmd="bootc__internals__help__fsck" ;; bootc__internals__help,fsverity) cmd="bootc__internals__help__fsverity" ;; bootc__internals__help,help) cmd="bootc__internals__help__help" ;; bootc__internals__help,loopback-cleanup-helper) cmd="bootc__internals__help__loopback__cleanup__helper" ;; bootc__internals__help,ostree-container) cmd="bootc__internals__help__ostree__container" ;; bootc__internals__help,ostree-ext) cmd="bootc__internals__help__ostree__ext" ;; bootc__internals__help,prep-soft-reboot) cmd="bootc__internals__help__prep__soft__reboot" ;; bootc__internals__help,print-json-schema) cmd="bootc__internals__help__print__json__schema" ;; bootc__internals__help,reboot) cmd="bootc__internals__help__reboot" ;; bootc__internals__help,relabel) cmd="bootc__internals__help__relabel" ;; bootc__internals__help,systemd-generator) cmd="bootc__internals__help__systemd__generator" ;; bootc__internals__help,test-composefs) cmd="bootc__internals__help__test__composefs" ;; bootc__internals__help__fsverity,enable) cmd="bootc__internals__help__fsverity__enable" ;; bootc__internals__help__fsverity,measure) cmd="bootc__internals__help__fsverity__measure" ;; bootc__state,help) cmd="bootc__state__help" ;; bootc__state,wipe-ostree) cmd="bootc__state__wipe__ostree" ;; bootc__state__help,help) cmd="bootc__state__help__help" ;; bootc__state__help,wipe-ostree) cmd="bootc__state__help__wipe__ostree" ;; *) ;; esac done case "${cmd}" in bootc) opts="-h -V --help --version upgrade switch rollback edit status usr-overlay install container image exec-in-host-mount-namespace state internals composefs-finalize-staged config-diff completion delete-deployment help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__completion) opts="-h --help bash elvish fish powershell zsh" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__composefs__finalize__staged) opts="-h --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__config__diff) opts="-h --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container) opts="-h --help inspect lint compute-composefs-digest compute-composefs-digest-from-storage ukify export help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container__compute__composefs__digest) opts="-h --write-dumpfile-to --help [PATH]" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --write-dumpfile-to) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container__compute__composefs__digest__from__storage) opts="-h --write-dumpfile-to --help [IMAGE]" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --write-dumpfile-to) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container__export) opts="-o -h --format --output --kernel-in-boot --disable-selinux --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --format) COMPREPLY=($(compgen -W "tar" -- "${cur}")) return 0 ;; --output) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -o) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container__help) opts="inspect lint compute-composefs-digest compute-composefs-digest-from-storage ukify export 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 ;; bootc__container__help__compute__composefs__digest) 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 ;; bootc__container__help__compute__composefs__digest__from__storage) 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 ;; bootc__container__help__export) 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 ;; bootc__container__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 ;; bootc__container__help__inspect) 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 ;; bootc__container__help__lint) 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 ;; bootc__container__help__ukify) 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 ;; bootc__container__inspect) opts="-h --rootfs --json --format --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --rootfs) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --format) COMPREPLY=($(compgen -W "humanreadable yaml json" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container__lint) opts="-h --rootfs --fatal-warnings --list --skip --no-truncate --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --rootfs) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --skip) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__container__ukify) opts="-h --rootfs --karg --allow-missing-verity --help [ARGS]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --rootfs) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --karg) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__delete__deployment) opts="-h --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__edit) opts="-f -h --filename --quiet --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --filename) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; -f) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__exec__in__host__mount__namespace) opts="-h --help [ARGS]..." if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help) opts="upgrade switch rollback edit status usr-overlay install container image exec-in-host-mount-namespace state internals composefs-finalize-staged config-diff completion delete-deployment help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__completion) opts="" 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 ;; bootc__help__composefs__finalize__staged) opts="" 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 ;; bootc__help__config__diff) opts="" 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 ;; bootc__help__container) opts="inspect lint compute-composefs-digest compute-composefs-digest-from-storage ukify export" 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 ;; bootc__help__container__compute__composefs__digest) 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 ;; bootc__help__container__compute__composefs__digest__from__storage) 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 ;; bootc__help__container__export) 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 ;; bootc__help__container__inspect) 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 ;; bootc__help__container__lint) 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 ;; bootc__help__container__ukify) 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 ;; bootc__help__delete__deployment) opts="" 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 ;; bootc__help__edit) opts="" 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 ;; bootc__help__exec__in__host__mount__namespace) opts="" 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 ;; bootc__help__help) opts="" 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 ;; bootc__help__image) opts="list copy-to-storage set-unified pull-from-default-storage cmd" 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 ;; bootc__help__image__cmd) opts="list build pull push" 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 ;; bootc__help__image__cmd__build) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__image__cmd__list) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__image__cmd__pull) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__image__cmd__push) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__image__copy__to__storage) 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 ;; bootc__help__image__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 ;; bootc__help__image__pull__from__default__storage) 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 ;; bootc__help__image__set__unified) 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 ;; bootc__help__install) opts="to-disk to-filesystem to-existing-root reset finalize ensure-completion print-configuration" 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 ;; bootc__help__install__ensure__completion) 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 ;; bootc__help__install__finalize) 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 ;; bootc__help__install__print__configuration) 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 ;; bootc__help__install__reset) 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 ;; bootc__help__install__to__disk) 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 ;; bootc__help__install__to__existing__root) 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 ;; bootc__help__install__to__filesystem) 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 ;; bootc__help__internals) opts="systemd-generator fixup-etc-fstab print-json-schema fsverity fsck cleanup relabel ostree-ext cfs ostree-container test-composefs loopback-cleanup-helper allocate-cleanup-loopback bootc-install-completion reboot dir-diff prep-soft-reboot composefs-gc" 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 ;; bootc__help__internals__allocate__cleanup__loopback) 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 ;; bootc__help__internals__bootc__install__completion) 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 ;; bootc__help__internals__cfs) 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 ;; bootc__help__internals__cleanup) 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 ;; bootc__help__internals__composefs__gc) 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 ;; bootc__help__internals__dir__diff) 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 ;; bootc__help__internals__fixup__etc__fstab) 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 ;; bootc__help__internals__fsck) 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 ;; bootc__help__internals__fsverity) opts="measure enable" 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 ;; bootc__help__internals__fsverity__enable) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__internals__fsverity__measure) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__help__internals__loopback__cleanup__helper) 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 ;; bootc__help__internals__ostree__container) 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 ;; bootc__help__internals__ostree__ext) 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 ;; bootc__help__internals__prep__soft__reboot) 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 ;; bootc__help__internals__print__json__schema) 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 ;; bootc__help__internals__reboot) 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 ;; bootc__help__internals__relabel) 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 ;; bootc__help__internals__systemd__generator) 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 ;; bootc__help__internals__test__composefs) 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 ;; bootc__help__rollback) opts="" 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 ;; bootc__help__state) opts="wipe-ostree" 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 ;; bootc__help__state__wipe__ostree) 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 ;; bootc__help__status) opts="" 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 ;; bootc__help__switch) opts="" 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 ;; bootc__help__upgrade) opts="" 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 ;; bootc__help__usr__overlay) opts="" 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 ;; bootc__image) opts="-h --help list copy-to-storage set-unified pull-from-default-storage cmd help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__cmd) opts="-h --help list build pull push 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 ;; bootc__image__cmd__build) opts="-h --help [ARGS]..." 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 ;; bootc__image__cmd__help) opts="list build pull push help" 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 ;; bootc__image__cmd__help__build) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__cmd__help__help) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__cmd__help__list) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__cmd__help__pull) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__cmd__help__push) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__cmd__list) opts="-h --help [ARGS]..." 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 ;; bootc__image__cmd__pull) opts="-h --help [ARGS]..." 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 ;; bootc__image__cmd__push) opts="-h --help [ARGS]..." 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 ;; bootc__image__copy__to__storage) opts="-h --source --target --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --source) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__help) opts="list copy-to-storage set-unified pull-from-default-storage cmd 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 ;; bootc__image__help__cmd) opts="list build pull push" 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 ;; bootc__image__help__cmd__build) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__help__cmd__list) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__help__cmd__pull) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__help__cmd__push) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__help__copy__to__storage) 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 ;; bootc__image__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 ;; bootc__image__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 ;; bootc__image__help__pull__from__default__storage) 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 ;; bootc__image__help__set__unified) 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 ;; bootc__image__list) opts="-h --type --format --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --type) COMPREPLY=($(compgen -W "all logical host" -- "${cur}")) return 0 ;; --format) COMPREPLY=($(compgen -W "table json" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__image__pull__from__default__storage) opts="-h --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 ;; bootc__image__set__unified) opts="-h --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 ;; bootc__install) opts="-h --help to-disk to-filesystem to-existing-root reset finalize ensure-completion print-configuration help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__install__ensure__completion) opts="-h --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 ;; bootc__install__finalize) opts="-h --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 ;; bootc__install__help) opts="to-disk to-filesystem to-existing-root reset finalize ensure-completion print-configuration 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 ;; bootc__install__help__ensure__completion) 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 ;; bootc__install__help__finalize) 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 ;; bootc__install__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 ;; bootc__install__help__print__configuration) 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 ;; bootc__install__help__reset) 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 ;; bootc__install__help__to__disk) 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 ;; bootc__install__help__to__existing__root) 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 ;; bootc__install__help__to__filesystem) 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 ;; bootc__install__print__configuration) opts="-h --all --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 ;; bootc__install__reset) opts="-h --experimental --source-imgref --target-transport --target-imgref --target-no-signature-verification --enforce-container-sigpolicy --run-fetch-check --skip-fetch-check --experimental-unified-storage --stateroot --quiet --progress-fd --apply --no-root-kargs --karg --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --source-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-transport) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --stateroot) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --progress-fd) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --karg) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__install__to__disk) opts="-h --wipe --block-setup --filesystem --root-size --source-imgref --target-transport --target-imgref --target-no-signature-verification --enforce-container-sigpolicy --run-fetch-check --skip-fetch-check --experimental-unified-storage --disable-selinux --karg --root-ssh-authorized-keys --generic-image --bound-images --stateroot --bootupd-skip-boot-uuid --bootloader --via-loopback --composefs-backend --allow-missing-verity --uki-addon --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --block-setup) COMPREPLY=($(compgen -W "direct tpm2-luks" -- "${cur}")) return 0 ;; --filesystem) COMPREPLY=($(compgen -W "xfs ext4 btrfs" -- "${cur}")) return 0 ;; --root-size) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --source-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-transport) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --karg) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --root-ssh-authorized-keys) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --bound-images) COMPREPLY=($(compgen -W "stored pull" -- "${cur}")) return 0 ;; --stateroot) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --bootloader) COMPREPLY=($(compgen -W "grub systemd none" -- "${cur}")) return 0 ;; --uki-addon) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__install__to__existing__root) opts="-h --replace --source-imgref --target-transport --target-imgref --target-no-signature-verification --enforce-container-sigpolicy --run-fetch-check --skip-fetch-check --experimental-unified-storage --disable-selinux --karg --root-ssh-authorized-keys --generic-image --bound-images --stateroot --bootupd-skip-boot-uuid --bootloader --acknowledge-destructive --cleanup --composefs-backend --allow-missing-verity --uki-addon --help [ROOT_PATH]" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --replace) COMPREPLY=($(compgen -W "wipe alongside" -- "${cur}")) return 0 ;; --source-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-transport) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --karg) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --root-ssh-authorized-keys) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --bound-images) COMPREPLY=($(compgen -W "stored pull" -- "${cur}")) return 0 ;; --stateroot) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --bootloader) COMPREPLY=($(compgen -W "grub systemd none" -- "${cur}")) return 0 ;; --uki-addon) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__install__to__filesystem) opts="-h --root-mount-spec --boot-mount-spec --replace --acknowledge-destructive --skip-finalize --source-imgref --target-transport --target-imgref --target-no-signature-verification --enforce-container-sigpolicy --run-fetch-check --skip-fetch-check --experimental-unified-storage --disable-selinux --karg --root-ssh-authorized-keys --generic-image --bound-images --stateroot --bootupd-skip-boot-uuid --bootloader --composefs-backend --allow-missing-verity --uki-addon --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --root-mount-spec) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --boot-mount-spec) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --replace) COMPREPLY=($(compgen -W "wipe alongside" -- "${cur}")) return 0 ;; --source-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-transport) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --target-imgref) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --karg) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --root-ssh-authorized-keys) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --bound-images) COMPREPLY=($(compgen -W "stored pull" -- "${cur}")) return 0 ;; --stateroot) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --bootloader) COMPREPLY=($(compgen -W "grub systemd none" -- "${cur}")) return 0 ;; --uki-addon) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals) opts="-h --help systemd-generator fixup-etc-fstab print-json-schema fsverity fsck cleanup relabel ostree-ext cfs ostree-container test-composefs loopback-cleanup-helper allocate-cleanup-loopback bootc-install-completion reboot dir-diff prep-soft-reboot composefs-gc help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__allocate__cleanup__loopback) opts="-h --file-path --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --file-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__bootc__install__completion) opts="-h --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 ;; bootc__internals__cfs) opts="-h --help [ARGS]..." 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 ;; bootc__internals__cleanup) opts="-h --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 ;; bootc__internals__composefs__gc) opts="-h --dry-run --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 ;; bootc__internals__dir__diff) opts="-h --merge --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 ;; bootc__internals__fixup__etc__fstab) opts="-h --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 ;; bootc__internals__fsck) opts="-h --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 ;; bootc__internals__fsverity) opts="-h --help measure enable 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 ;; bootc__internals__fsverity__enable) opts="-h --help " 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 ;; bootc__internals__fsverity__help) opts="measure enable help" 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 ;; bootc__internals__fsverity__help__enable) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__fsverity__help__help) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__fsverity__help__measure) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__fsverity__measure) opts="-h --help " 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 ;; bootc__internals__help) opts="systemd-generator fixup-etc-fstab print-json-schema fsverity fsck cleanup relabel ostree-ext cfs ostree-container test-composefs loopback-cleanup-helper allocate-cleanup-loopback bootc-install-completion reboot dir-diff prep-soft-reboot composefs-gc 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 ;; bootc__internals__help__allocate__cleanup__loopback) 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 ;; bootc__internals__help__bootc__install__completion) 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 ;; bootc__internals__help__cfs) 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 ;; bootc__internals__help__cleanup) 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 ;; bootc__internals__help__composefs__gc) 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 ;; bootc__internals__help__dir__diff) 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 ;; bootc__internals__help__fixup__etc__fstab) 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 ;; bootc__internals__help__fsck) 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 ;; bootc__internals__help__fsverity) opts="measure enable" 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 ;; bootc__internals__help__fsverity__enable) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__help__fsverity__measure) opts="" if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__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 ;; bootc__internals__help__loopback__cleanup__helper) 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 ;; bootc__internals__help__ostree__container) 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 ;; bootc__internals__help__ostree__ext) 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 ;; bootc__internals__help__prep__soft__reboot) 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 ;; bootc__internals__help__print__json__schema) 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 ;; bootc__internals__help__reboot) 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 ;; bootc__internals__help__relabel) 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 ;; bootc__internals__help__systemd__generator) 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 ;; bootc__internals__help__test__composefs) 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 ;; bootc__internals__loopback__cleanup__helper) opts="-h --device --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --device) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__ostree__container) opts="-h --help [ARGS]..." 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 ;; bootc__internals__ostree__ext) opts="-h --help [ARGS]..." 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 ;; bootc__internals__prep__soft__reboot) opts="-h --reboot --reset --help [DEPLOYMENT]" 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 ;; bootc__internals__print__json__schema) opts="-h --of --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --of) COMPREPLY=($(compgen -W "host progress" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__reboot) opts="-h --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 ;; bootc__internals__relabel) opts="-h --as-path --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --as-path) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__internals__systemd__generator) opts="-h --help [EARLY_DIR] [LATE_DIR]" 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 ;; bootc__internals__test__composefs) opts="-h --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 ;; bootc__rollback) opts="-h --apply --soft-reboot --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --soft-reboot) COMPREPLY=($(compgen -W "required auto" -- "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__state) opts="-h --help wipe-ostree help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__state__help) opts="wipe-ostree 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 ;; bootc__state__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 ;; bootc__state__help__wipe__ostree) 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 ;; bootc__state__wipe__ostree) opts="-h --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 ;; bootc__status) opts="-v -h --json --format --format-version --booted --verbose --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --format) COMPREPLY=($(compgen -W "humanreadable yaml json" -- "${cur}")) return 0 ;; --format-version) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__switch) opts="-h --quiet --apply --soft-reboot --transport --no-signature-verification --enforce-container-sigpolicy --mutate-in-place --retain --experimental-unified-storage --progress-fd --help " if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --soft-reboot) COMPREPLY=($(compgen -W "required auto" -- "${cur}")) return 0 ;; --transport) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --progress-fd) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__upgrade) opts="-h --quiet --check --apply --soft-reboot --download-only --from-downloaded --tag --progress-fd --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in --soft-reboot) COMPREPLY=($(compgen -W "required auto" -- "${cur}")) return 0 ;; --tag) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; --progress-fd) COMPREPLY=($(compgen -f "${cur}")) return 0 ;; *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; bootc__usr__overlay) opts="-h --read-only --help" if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 fi case "${prev}" in *) COMPREPLY=() ;; esac COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) return 0 ;; esac } if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then complete -F _bootc -o nosort -o bashdefault -o default bootc else complete -F _bootc -o bashdefault -o default bootc fi