1
0
mirror of https://github.com/Jguer/yay.git synced 2025-08-18 21:21:16 +02:00

Merge pull request #526 from MorphBonehunter/master

run pacman -Qk(k) as root
This commit is contained in:
J Guerreiro 2018-07-02 16:20:25 +01:00 committed by GitHub
commit 61c7e19a0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,9 @@ func (parser *arguments) needRoot() bool {
}
return false
case "Q", "query":
if parser.existsArg("k", "check") {
return true
}
return false
case "R", "remove":
return true