Remove obsolete --buildarch and --buildos rpm(build) completions.

This commit is contained in:
Ville Skyttä 2009-03-23 22:55:30 +02:00
parent 87db0529b0
commit b1844ddeb9
2 changed files with 2 additions and 2 deletions

View File

@ -2174,8 +2174,7 @@ _rpm()
if [[ "$cur" == -* ]]; then if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--short-circuit --timecheck \ COMPREPLY=( $( compgen -W '--short-circuit --timecheck \
--clean --rmsource --rmspec --test --sign --buildroot \ --clean --rmsource --rmspec --test --sign --buildroot \
--target -- buildarch --buildos --nobuild --nodeps \ --target --nobuild --nodeps --nodirtokens' -- $cur ) )
--nodirtokens' -- $cur ) )
elif [[ ${COMP_WORDS[1]} == -b* ]]; then elif [[ ${COMP_WORDS[1]} == -b* ]]; then
_filedir 'spec' _filedir 'spec'
else else

1
debian/changelog vendored
View File

@ -145,6 +145,7 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
(RHBZ: #486998). (RHBZ: #486998).
* Apply ps2pdf completion to ps2pdf{12,13,14,wr} too. * Apply ps2pdf completion to ps2pdf{12,13,14,wr} too.
* Simplify bash_completion.sh, return earlier in non-applicable environments. * Simplify bash_completion.sh, return earlier in non-applicable environments.
* Remove obsolete --buildarch and --buildos rpm(build) completions.
[ Freddy Vulto ] [ Freddy Vulto ]
* Restored `_display()' completion for `display' by removing * Restored `_display()' completion for `display' by removing