mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-02 14:51:49 +00:00
484a5ad172
* bash-completion/abicompat: Make this be non-executable. * bash-completion/abidiff: Likewise. * bash-completion/abidw: Likewise. * bash-completion/abilint: Likewise. * bash-completion/abinilint: Likewise. * bash-completion/abipkgdiff: Likewise. * bash-completion/abisym: Likewise. * bash-completion/fedabipkgdiff: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
30 lines
704 B
Plaintext
30 lines
704 B
Plaintext
_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"
|
|
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
|