- update rpm completion for rpm 4.2 (patch from Götz Waschk

<waschk@informatik.uni-rostock.de>)
This commit is contained in:
ianmacd 2003-07-11 06:48:07 +00:00
parent c86f8b7535
commit 9f17a1cda9

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b # bash_completion - some programmable completion functions for bash 2.05b
# #
# $Id: bash_completion,v 1.586 2003/07/11 08:30:59 ianmacd Exp $ # $Id: bash_completion,v 1.587 2003/07/11 08:48:07 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -1457,9 +1457,10 @@ _rpm()
-@([Vy]*|-verify)) -@([Vy]*|-verify))
if [[ "$cur" == -* ]]; then if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--root --rcfile --dbpath \ COMPREPLY=( $( compgen -W '--root --rcfile --dbpath \
--nodeps --nofiles --noscripts --nomd5 --querytags \ --nodeps --nogroup --nolinkto --nomode --nomtime \
--specfile --whatrequires --whatprovides --nodigest \ --nordev --nouser --nofiles --noscripts --nomd5 \
--nosignature' -- $cur ) ) --querytags --specfile --whatrequires --whatprovides \
--nodigest --nosignature' -- $cur ) )
# check whether we're doing file completion # check whether we're doing file completion
elif [ "${COMP_LINE#* -*([^ -])f}" != "$COMP_LINE" ]; then elif [ "${COMP_LINE#* -*([^ -])f}" != "$COMP_LINE" ]; then
_filedir _filedir