From 1a542a6164a9f763378e9dd00db43f1966ff3344 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Sun, 3 Aug 2003 01:07:38 +0000 Subject: [PATCH] - turn --targetbuildarch into --target and --buildarch in rpm completion - rpm's --rebuild and --recompile can also use --target --- bash_completion | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash_completion b/bash_completion index 36986225..1830151c 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05b # -# $Id: bash_completion,v 1.599 2003/08/03 02:57:49 ianmacd Exp $ +# $Id: bash_completion,v 1.600 2003/08/03 03:07:38 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -1490,7 +1490,7 @@ _rpm() if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--short-circuit --timecheck \ --clean --rmsource --rmspec --test --sign --buildroot \ - --targetbuildarch --buildos --nobuild --nodeps \ + --target -- buildarch --buildos --nobuild --nodeps \ --nodirtokens' -- $cur ) ) elif [[ ${COMP_WORDS[1]} == -b* ]]; then _filedir 'spec' @@ -1501,7 +1501,7 @@ _rpm() --re@(build|compile)) if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--nodeps --rmsource \ - --rmspec --sign --nodirtokens' -- $cur ) ) + --rmspec --sign --nodirtokens --target' -- $cur ) ) else _filedir 'src.rpm' fi