summaryrefslogtreecommitdiffstats
path: root/contrib/bash_completion
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-03-16 22:23:47 +0100
committerDan McGee <dan@archlinux.org>2008-03-18 03:00:09 +0100
commit73ab153c44a1581b4bcf1e64eb6042b0631c2e66 (patch)
tree5e152181a43ea6848215232b76c18f8e9e763f1c /contrib/bash_completion
parentb3e6cf652c9e989badaf5499abb1d64c1a110927 (diff)
downloadpacman-73ab153c44a1581b4bcf1e64eb6042b0631c2e66.tar.gz
pacman-73ab153c44a1581b4bcf1e64eb6042b0631c2e66.tar.xz
Kill some obsolete references to -A option.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'contrib/bash_completion')
-rw-r--r--contrib/bash_completion8
1 files changed, 3 insertions, 5 deletions
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