mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-11 05:46:19 +00:00
fix: Make patches selectable by using a mutable collection for the selection option
This commit is contained in:
@@ -30,7 +30,7 @@ internal object PatchCommand : Runnable {
|
|||||||
private lateinit var spec: CommandSpec
|
private lateinit var spec: CommandSpec
|
||||||
|
|
||||||
@ArgGroup(multiplicity = "0..*")
|
@ArgGroup(multiplicity = "0..*")
|
||||||
private var selection = emptySet<Selection>()
|
private var selection = mutableSetOf<Selection>()
|
||||||
|
|
||||||
internal class Selection {
|
internal class Selection {
|
||||||
@ArgGroup(exclusive = false, multiplicity = "1")
|
@ArgGroup(exclusive = false, multiplicity = "1")
|
||||||
|
|||||||
Reference in New Issue
Block a user