libabigail/bash-completion/fedabipkgdiff
Chenxiong Qi eb96c6f341 Add --abipkgdiff option in manual and bash completion
* doc/manuals/fedabipkgdiff.rst: Add description of --abipkgdiff
	option. Reformat paragraph.
	* bash-completion/fedabipkgdiff: Add --abipkgdiff

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2016-06-30 15:39:15 +02:00

30 lines
704 B
Plaintext
Executable File

_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