From ee5df142c4a44ab7bdd50f675f558e7b87713c8d Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 27 Jul 2004 05:24:53 +0000 Subject: Update bash completion with new command-line options --- urpmi.bash-completion | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/urpmi.bash-completion b/urpmi.bash-completion index 4b5fa171..89a1cde4 100644 --- a/urpmi.bash-completion +++ b/urpmi.bash-completion @@ -205,8 +205,9 @@ _urpmi_update() if [[ "$cur" == -* ]]; then # return list of available options - COMPREPLY=( $( compgen -W '-a -c -f --help --wget \ - --curl --limit-rate --proxy --proxy-user --update' \ + COMPREPLY=( $( compgen -W '-a -c -f -q -v --help --wget \ + --curl --limit-rate --proxy --proxy-user --update \ + --no-md5sum --force-key' \ -- $cur)) else # return list of available media @@ -226,7 +227,7 @@ _urpmi_addmedia() if [[ "$cur" == -* ]]; then # return list of available options - COMPREPLY=( $( compgen -W '-c -f -h --help --wget --curl \ + COMPREPLY=( $( compgen -W '-c -f -h -v -q --help --wget --curl \ --limit-rate --proxy --proxy-user --update \ --probe-synthesis --probe-hdlist --no-probe --distrib \ --env --version --arch --virtual' -- $cur ) ) @@ -269,7 +270,7 @@ _urpmi_removemedia() if [[ "$cur" == -* ]]; then # if word begins with a dash, return list of available options - COMPREPLY=( $( compgen -W '-a -c --help' -- $cur ) ) + COMPREPLY=( $( compgen -W '-a -c -y -v -q --help' -- $cur ) ) else # elsewhere, return list of available media _urpmi_medias -- cgit v1.2.1