mirror of
https://github.com/revanced/revanced-cli
synced 2025-03-02 08:13:02 +01:00
fix: Make patches selectable by using a mutable collection for the selection option
This commit is contained in:
parent
3300e6b433
commit
751fa1d889
@ -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")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user