summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-05-04 13:56:55 +1000
committerAllan McRae <allan@archlinux.org>2012-12-14 13:45:12 +1000
commit327c272bb4540cee396f7e83ff98899876363a79 (patch)
tree52ca78bc58dccb1ecd341473fdf9339e0ff7ad25 /src/pacman/pacman.c
parentcfd9f1cc6948bc99d48e968efa4dd57f3375b93c (diff)
downloadpacman-327c272bb4540cee396f7e83ff98899876363a79.tar.xz
Basic running of pacman -Qkk to check mtree files
If a package has an mtree file, using pacman -Qkk will read that file and use it to perform more in depth package checking. Currently this only checks for file presence. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index a25bbf84..29a489b4 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -460,7 +460,7 @@ static int parsearg_query(int opt)
case 'e': config->op_q_explicit = 1; break;
case 'g': (config->group)++; break;
case 'i': (config->op_q_info)++; break;
- case 'k': config->op_q_check = 1; break;
+ case 'k': (config->op_q_check)++; break;
case 'l': config->op_q_list = 1; break;
case 'm': config->op_q_foreign = 1; break;
case 'n': config->op_q_native = 1; break;