libabigail/bash-completion/fedabipkgdiff

33 lines
819 B
Plaintext
Raw Normal View History

_fedabipkgdiff_module()
{
local cur OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
case $cur in
-*)
OPTS=" --dry-run
--debug
--traceback
--server
--topdir
--from
--to
--all-subpackages
--dso-only
--no-default-suppression
--no-devel-pkg
--abipkgdiff
--clean-cache
--clean-cache-before
--clean-cache-after"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _fedabipkgdiff_module fedabipkgdiff