add 'conflicts' and 'obsoletes' query completions to _rpm()

This commit is contained in:
ianmacd 2002-01-04 18:29:18 +00:00
parent 7d8abf3421
commit 535803534b

View File

@ -2,7 +2,7 @@
#
# <![CDATA[
#
# $Id: bash_completion,v 1.43 2002/01/04 05:34:21 ianmacd Exp $
# $Id: bash_completion,v 1.44 2002/01/04 19:29:18 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -682,7 +682,7 @@ _rpm()
whatrequires requires triggeredby ftpport ftpproxy httpproxy \
httpport provides triggers dump changelog dbpath filesbypkg \
define eval pipe showrc info list state docfiles \
configfiles queryformat' ${cur_nodash#-} ) )
configfiles queryformat conflicts obsoletes' ${cur_nodash#-} ) )
dashify
# return if $cur is an option
[[ "$cur" == -* ]] && return 0
@ -711,8 +711,8 @@ _rpm()
whatrequires requires triggeredby ftpport ftpproxy httpproxy \
httpport provides triggers dump changelog dbpath specfile \
querybynumber last filesbypkg define eval pipe showrc info \
list state docfiles configfiles queryformat' \
${cur_nodash#-} ) )
list state docfiles configfiles queryformat conflicts \
obsoletes' ${cur_nodash#-} ) )
dashify
# return if $cur is an option
[[ "$cur" == -* ]] && return 0