mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-01 22:31:46 +00:00
Update bash completion for fedabipkgdiff
* bash-completion/fedabipkgdiff: New bash completion file. Signed-off-by: Chenxiong Qi <cqi@redhat.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
3b52398421
commit
e4e53aa763
28
bash-completion/fedabipkgdiff
Normal file
28
bash-completion/fedabipkgdiff
Normal file
@ -0,0 +1,28 @@
|
||||
_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"
|
||||
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
|
Loading…
Reference in New Issue
Block a user