mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 09:07:21 +01:00
Fix handling of -- in parser
This commit is contained in:
parent
0dc94a2c31
commit
85a99198c3
2
cmd.go
2
cmd.go
@ -699,6 +699,8 @@ func passToPacman(args *arguments) error {
|
||||
argArr = append(argArr, "--noconfirm")
|
||||
}
|
||||
|
||||
argArr = append(argArr, "--")
|
||||
|
||||
argArr = append(argArr, args.formatTargets()...)
|
||||
|
||||
cmd = exec.Command(argArr[0], argArr[1:]...)
|
||||
|
Loading…
Reference in New Issue
Block a user