add --pkgid, --hdrid, --fileid & --tid query options to _rpm() for rpm 4.0.4

This commit is contained in:
ianmacd 2002-02-06 01:51:20 +00:00
parent 5fa59bcce2
commit 8592dda38b

View File

@ -2,7 +2,7 @@
#
# <![CDATA[
#
# $Id: bash_completion,v 1.87 2002/02/05 16:55:30 ianmacd Exp $
# $Id: bash_completion,v 1.88 2002/02/06 02:51:20 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -781,7 +781,7 @@ _rpm()
httpport provides triggers dump changelog dbpath specfile \
querybynumber last filesbypkg define eval pipe showrc info \
list state docfiles configfiles queryformat conflicts \
obsoletes' ${cur_nodash#-} ) )
obsoletes pkgid hdrid fileid tid' ${cur_nodash#-} ) )
dashify
# return if $cur is an option
[[ "$cur" == -* ]] && return 0