- add --target to rpm -[bt] completion

This commit is contained in:
ianmacd 2003-04-26 00:33:16 +00:00
parent f8da9f4aa9
commit 255154d462

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.555 2003/04/23 07:30:46 ianmacd Exp $ # $Id: bash_completion,v 1.556 2003/04/26 02:33:16 ianmacd Exp $
# #
# Copyright (C) Ian Macdonald <ian@caliban.org> # Copyright (C) Ian Macdonald <ian@caliban.org>
# #
@ -1450,7 +1450,7 @@ _rpm()
if [[ "$cur" == -* ]]; then if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--short-circuit --timecheck \ COMPREPLY=( $( compgen -W '--short-circuit --timecheck \
--clean --rmsource --rmspec --test --sign --buildroot \ --clean --rmsource --rmspec --test --sign --buildroot \
--targetbuildarch --buildos --nobuild --nodeps \ --targetbuildarch --target --buildos --nobuild --nodeps \
--nodirtokens' -- $cur ) ) --nodirtokens' -- $cur ) )
elif [[ ${COMP_WORDS[1]} == -b* ]]; then elif [[ ${COMP_WORDS[1]} == -b* ]]; then
_filedir 'spec' _filedir 'spec'