From ca6ef852f9944ad31e8a136f7faf71da2c5fb57f Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 30 Mar 2009 18:48:15 +0200 Subject: 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 , thanks for your work! Signed-off-by: Dan McGee --- contrib/bash_completion | 2 ++ contrib/zsh_completion | 1 + 2 files changed, 3 insertions(+) (limited to 'contrib') 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 \ diff --git a/contrib/zsh_completion b/contrib/zsh_completion index e1273184..2f43d9b2 100644 --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -50,6 +50,7 @@ _pacman_opts_query_modifiers=( '-e[List packages explicitly installed]' '-i[View package information]' '-ii[View package information including backup files]' + '-k[Check package files]' '-l[List package contents]' '-m[List installed packages not found in sync db(s)]' '-t[List packages not required by any package]' -- cgit v1.2.3-24-g4f1b