mirror of
https://github.com/Jguer/yay
synced 2024-09-14 13:51:12 +00:00
Handle sudoloop flag
This commit is contained in:
parent
0e1182356a
commit
296f59f855
4
cmd.go
4
cmd.go
|
@ -406,6 +406,10 @@ func handleConfig(option, value string) bool {
|
||||||
if err == nil && n > 0 {
|
if err == nil && n > 0 {
|
||||||
config.RequestSplitN = n
|
config.RequestSplitN = n
|
||||||
}
|
}
|
||||||
|
case "sudoloop":
|
||||||
|
config.SudoLoop = true
|
||||||
|
case "nosudoloop":
|
||||||
|
config.SudoLoop = false
|
||||||
default:
|
default:
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue