diff --git a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt index 2da2eccb..b9dc3d77 100644 --- a/src/main/kotlin/app/revanced/cli/command/MainCommand.kt +++ b/src/main/kotlin/app/revanced/cli/command/MainCommand.kt @@ -47,8 +47,8 @@ internal object MainCommand : Runnable { @Option(names = ["-r", "--resource-patcher"], description = ["Disable patching resources"]) var disableResourcePatching: Boolean = false - @Option(names = ["--debugging"], description = ["Disable patch version compatibility"]) - var debugging: Boolean = false + @Option(names = ["-e", "--experimental"], description = ["Disable patch version compatibility patch"]) + var experimental: Boolean = false @Option(names = ["-m", "--merge"], description = ["One or more dex file containers to merge"]) var mergeFiles = listOf() diff --git a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt index 1b617817..4425fea6 100644 --- a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt @@ -43,7 +43,7 @@ fun Patcher.addPatchesFiltered( return@patch } - if (!(args.debugging || compatiblePackages.any { it.versions.isEmpty() || it.versions.any { version -> version == packageVersion }})) { + if (!(args.experimental || compatiblePackages.any { it.versions.isEmpty() || it.versions.any { version -> version == packageVersion }})) { println("$prefix: The package version is $packageVersion and is incompatible.") return@patch }