1# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2_abisym_module() 3{ 4 local cur prev OPTS 5 COMPREPLY=() 6 cur="${COMP_WORDS[COMP_CWORD]}" 7 prev="${COMP_WORDS[COMP_CWORD-1]}" 8 case $cur in 9 -*) 10 OPTS=" --help 11 --demangle 12 --no-absolute-path" 13 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) 14 return 0 15 ;; 16 esac 17 local IFS=$'\n' 18 compopt -o filenames 19 COMPREPLY=( $(compgen -f -- $cur) ) 20 return 0 21} 22complete -F _abisym_module abisym 23