summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-11-09 07:23:25 +0100
committerDan McGee <dan@archlinux.org>2007-11-11 16:51:09 +0100
commit84433c880055faeaa7cf48a4f0a4fe9a7cf5ca1d (patch)
tree918b1aa8d9e54c569e4a230782d842e3c1cd5603 /contrib
parented37d78664d2d6d036715ee0e939bfeea4a6ede6 (diff)
downloadpacman-84433c880055faeaa7cf48a4f0a4fe9a7cf5ca1d.tar.gz
pacman-84433c880055faeaa7cf48a4f0a4fe9a7cf5ca1d.tar.xz
Update bash completion
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash_completion22
1 files changed, 14 insertions, 8 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion
index a3d5c432..6aafc9ec 100644
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -175,11 +175,15 @@ _pacman ()
upgrades) mod="${mod}u" ;;
downloadonly) mod="${mod}w" ;;
refresh) mod="${mod}y" ;;
- orphans) mod="${mod}e" ;;
+ changelog) mod="${mod}c" ;;
+ deps) mod="${mod}d" ;;
+ explicit) mod="${mod}e" ;;
+ orphans) mod="${mod}t" ;;
foreign) mod="${mod}m" ;;
owns) mod="${mod}o" ;;
file) mod="${mod}p" ;;
search) mod="${mod}s" ;;
+ upgrades) mod="${mod}u" ;;
cascade) mod="${mod}c" ;;
dbonly) mod="${mod}k" ;;
nosave) mod="${mod}n" ;;
@@ -216,12 +220,13 @@ _pacman ()
case "${op}" in
A|U|F)
COMPREPLY=( $( compgen -W '\
+ --asdeps \
-d --nodeps \
-f --force \
-h --help \
--config \
+ --logfile \
--noconfirm \
- --ask \
--noprogressbar \
--noscriptlet \
-v --verbose \
@@ -235,14 +240,13 @@ _pacman ()
COMPREPLY=( $( compgen -W '\
-c --cascade \
-d --nodeps \
- -f --force \
-h --help \
-k --dbonly \
-n --nosave \
-s --recursive \
--config \
+ --logfile \
--noconfirm \
- --ask \
--noprogressbar \
--noscriptlet \
-v --verbose \
@@ -254,6 +258,7 @@ _pacman ()
;;
S)
COMPREPLY=( $( compgen -W '\
+ --asdeps \
-c --clean \
-d --nodeps \
-e --dependsonly \
@@ -269,8 +274,8 @@ _pacman ()
-y --refresh \
--ignore \
--config \
+ --logfile \
--noconfirm \
- --ask \
--noprogressbar \
--noscriptlet \
-v --verbose \
@@ -283,7 +288,8 @@ _pacman ()
Q)
COMPREPLY=( $( compgen -W '\
-c --changelog \
- -e --orphans \
+ -d --deps \
+ -e --explicit \
-g --groups \
-h --help \
-i --info \
@@ -292,11 +298,11 @@ _pacman ()
-o --owns \
-p --file \
-s --search \
- -t --test \
+ -t --orphans \
-u --upgrades \
--config \
+ --logfile \
--noconfirm \
- --ask \
--noprogressbar \
--noscriptlet \
-v --verbose \