summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash_completion2
-rw-r--r--contrib/zsh_completion1
2 files changed, 3 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 \
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]'