Update list of yum commands and options.
This commit is contained in:
parent
2e56e54580
commit
ab46b349a4
28
contrib/yum
28
contrib/yum
@ -55,16 +55,15 @@ _yum()
|
||||
esac
|
||||
fi
|
||||
|
||||
case $cur in
|
||||
--*)
|
||||
COMPREPLY=( $( compgen -W '--installroot --version --help --enablerepo --disablerepo --exclude --obsoletes --noplugins' -- $cur ) )
|
||||
if [[ "$cur" == -* ]]; then
|
||||
COMPREPLY=( $( compgen -W '-h --help -t --tolerant -C -c -R \
|
||||
-d --showduplicates -e -q --quiet -v --verbose -y \
|
||||
--version --installroot --enablerepo --disablerepo -x \
|
||||
--exclude --disableexcludes --obsoletes --noplugins \
|
||||
--nogpgcheck --disableplugin --enableplugin \
|
||||
--skip-broken --color' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W '-c -e -d -y -t -R -C -h' -- $cur ) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
case $prev in
|
||||
list)
|
||||
@ -84,11 +83,12 @@ _yum()
|
||||
_filedir -d
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -W 'install update check-update upgrade remove list \
|
||||
search info provides clean groupinstall groupupdate \
|
||||
grouplist deplist erase groupinfo groupremove \
|
||||
localinstall localupdate makecache resolvedep \
|
||||
shell whatprovides' -- $cur ) )
|
||||
COMPREPLY=( $( compgen -W 'install update check-update \
|
||||
upgrade remove erase list info provides whatprovides \
|
||||
clean makecache groupinstall groupupdate grouplist \
|
||||
groupremove groupinfo search shell resolvedep \
|
||||
localinstall localupdate deplist repolist help' \
|
||||
-- $cur ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -6,6 +6,7 @@ bash-completion (1:1.x) UNRELEASED; urgency=low
|
||||
[ Ville Skyttä ]
|
||||
* Split yum and yum-arch completion into contrib/yum.
|
||||
* Install yum-arch completion only if yum-arch is installed.
|
||||
* Update list of yum commands and options.
|
||||
|
||||
-- David Paleino <d.paleino@gmail.com> Wed, 25 Mar 2009 23:18:24 +0100
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user