1# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2_fedabipkgdiff_module() 3{ 4 local cur OPTS 5 COMPREPLY=() 6 cur="${COMP_WORDS[COMP_CWORD]}" 7 case $cur in 8 -*) 9 OPTS=" --dry-run 10 --debug 11 --traceback 12 --server 13 --topdir 14 --from 15 --to 16 --all-subpackages 17 --dso-only 18 --no-default-suppression 19 --no-devel-pkg 20 --abipkgdiff 21 --clean-cache 22 --clean-cache-before 23 --clean-cache-after 24 --self-compare" 25 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) 26 return 0 27 ;; 28 esac 29 local IFS=$'\n' 30 compopt -o filenames 31 COMPREPLY=( $(compgen -f -- $cur) ) 32 return 0 33} 34complete -F _fedabipkgdiff_module fedabipkgdiff 35