2016-06-29 04:01:29 +00:00
|
|
|
_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
|
2016-06-29 14:34:20 +00:00
|
|
|
--no-devel-pkg
|
2017-03-05 05:54:16 +00:00
|
|
|
--abipkgdiff
|
|
|
|
--clean-cache
|
|
|
|
--clean-cache-before
|
|
|
|
--clean-cache-after"
|
2016-06-29 04:01:29 +00:00
|
|
|
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
|