added --rmsource as stand-alone option to RPM completion

This commit is contained in:
ianmacd 2000-12-20 02:04:54 +00:00
parent 99f016528f
commit af9b519c77

View File

@ -2,7 +2,7 @@
# #
# <![CDATA[ # <![CDATA[
# #
# $Id: bash_completion,v 1.11 2000/12/19 20:54:49 ianmacd Exp $ # $Id: bash_completion,v 1.12 2000/12/20 03:04:54 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -593,7 +593,7 @@ _rpm()
COMPREPLY=( $( compgen -W 'help version initdb \ COMPREPLY=( $( compgen -W 'help version initdb \
checksig recompile rebuild resign addsign rebuilddb \ checksig recompile rebuild resign addsign rebuilddb \
showrc setperms setgids tarbuild eval install \ showrc setperms setgids tarbuild eval install \
upgrade query freshen erase verify querytags' \ upgrade query freshen erase verify querytags rmsource' \
${cur_nodash#-} ) ) ${cur_nodash#-} ) )
dashify dashify
return 0 return 0
@ -758,6 +758,10 @@ _rpm()
add_package_list add_package_list
return 0 return 0
;; ;;
--rmsource)
file_glob spec
return 0
;;
esac esac
return 0 return 0