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