summaryrefslogtreecommitdiffstats
path: root/contrib/bash_completion
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2009-03-30 18:48:15 +0200
committerDan McGee <dan@archlinux.org>2009-07-23 03:13:53 +0200
commitca6ef852f9944ad31e8a136f7faf71da2c5fb57f (patch)
treeddc13ce9e32a17c4c916720cf0e290fb7175c60b /contrib/bash_completion
parent4b21504ffc947d39a0c69a774fe14a37262942a8 (diff)
downloadpacman-ca6ef852f9944ad31e8a136f7faf71da2c5fb57f.tar.gz
pacman-ca6ef852f9944ad31e8a136f7faf71da2c5fb57f.tar.xz
New feature: files verification
This implements FS#13877. Add a new option "-Qk" which checks if all of the files for a given package (or packages) are really on the system (i.e. not accidentally deleted). This can be combined with filters and other display options. It also respects both the --quiet and --verbose flags to give varying levels of output. Based on the original patch by Charly Coste <changaco@laposte.net>, thanks for your work! Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/bash_completion')
-rw-r--r--contrib/bash_completion2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion
index 11f021c8..65135cfd 100644
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -183,6 +183,7 @@ _pacman ()
search) mod="${mod}s" ;;
upgrades) mod="${mod}u" ;;
cascade) mod="${mod}c" ;;
+ check) mod="${mod}k" ;;
dbonly) mod="${mod}k" ;;
nosave) mod="${mod}n" ;;
recursive) mod="${mod}s" ;;
@@ -294,6 +295,7 @@ _pacman ()
-g --groups \
-h --help \
-i --info \
+ -k --check \
-l --list \
-m --foreign \
-o --owns \