index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-10-15 17:28:49 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-31 16:20:02 +1000 |
commit | 2d9e7dc2bcb71771b70d379f77212f0ce4a622f4 (patch) | |
tree | 70f3bdb47213d384db21afdffce4d84ec3843901 | |
parent | 70b2c5f5ef7e81f61db9fada63c80514c3b163a5 (diff) |
-rw-r--r-- | src/pacman/pacman.c | 3 |
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index f4856924..f22f40f3 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -600,7 +600,8 @@ static void checkargs_query(void) } invalid_opt(config->op_q_deps && config->op_q_explicit, "--deps", "--explicit"); - invalid_opt(config->op_q_locality & (PKG_LOCALITY_NATIVE | PKG_LOCALITY_FOREIGN), + invalid_opt((config->op_q_locality & PKG_LOCALITY_NATIVE) && + (config->op_q_locality & PKG_LOCALITY_FOREIGN), "--native", "--foreign"); } |