From 73ab153c44a1581b4bcf1e64eb6042b0631c2e66 Mon Sep 17 00:00:00 2001 From: Chantry Xavier Date: Sun, 16 Mar 2008 22:23:47 +0100 Subject: Kill some obsolete references to -A option. Signed-off-by: Chantry Xavier --- contrib/bash_completion | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'contrib/bash_completion') diff --git a/contrib/bash_completion b/contrib/bash_completion index 7f5d1b08..bfe33908 100644 --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -146,14 +146,13 @@ _pacman () toparse="${a:2}" case "${arg}" in - -@(A|U|R|S|Q|h|V)) + -@(U|R|S|Q|h|V)) op="${arg/-}" mod="${mod}${a:2}" ;; --) arg="${a:2}" case "${arg}" in - add) op="A" ;; remove) op="R" ;; upgrade) op="U" ;; query) op="Q" ;; @@ -203,7 +202,6 @@ _pacman () if [ $COMP_CWORD -eq 1 ] && [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '\ - -A --add \ -h --help \ -Q --query \ -R --remove \ @@ -217,7 +215,7 @@ _pacman () if [[ "$cur" == -* ]]; then case "${op}" in - A|U) + U) COMPREPLY=( $( compgen -W '\ --asdeps \ --asexplicit \ @@ -320,7 +318,7 @@ _pacman () rem_selected else case "${op}" in - A|U) + U) COMPREPLY=( $( compgen -d -- "$cur" ) \ $( compgen -f -X '!*.pkg.tar.gz' -- "$cur" ) ) return 0 -- cgit v1.2.3-54-g00ecf