mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 08:18:51 -05:00
Fix detection of joint --native and --foreign usage
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
70b2c5f5ef
commit
2d9e7dc2bc
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user