handle rpm -qip (and similar) as well as rpm -qpi

This commit is contained in:
ianmacd 2002-01-22 07:19:47 +00:00
parent 60ac972e43
commit da25ac6be2

View File

@ -2,7 +2,7 @@
# #
# <![CDATA[ # <![CDATA[
# #
# $Id: bash_completion,v 1.62 2002/01/21 16:48:10 ianmacd Exp $ # $Id: bash_completion,v 1.63 2002/01/22 08:19:47 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -726,7 +726,7 @@ _rpm()
file_glob rpm file_glob rpm
return 0 return 0
;; ;;
-qp*) -q*p*)
# complete on list of relevant options # complete on list of relevant options
COMPREPLY=( $( compgen -W 'scripts root rcfile whatprovides \ COMPREPLY=( $( compgen -W 'scripts root rcfile whatprovides \
whatrequires requires triggeredby ftpport ftpproxy httpproxy \ whatrequires requires triggeredby ftpport ftpproxy httpproxy \