mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-04 01:12:54 +01:00
feat: Remove deprecated CLI options
This commit is contained in:
parent
c45ed69adf
commit
48a1a39b94
@ -142,17 +142,6 @@ internal object PatchCommand : Runnable {
|
|||||||
)
|
)
|
||||||
private var signer = "ReVanced"
|
private var signer = "ReVanced"
|
||||||
|
|
||||||
@CommandLine.Option(
|
|
||||||
names = ["-r", "--resource-cache"],
|
|
||||||
description = ["Path to temporary resource cache directory."],
|
|
||||||
)
|
|
||||||
private var resourceCachePath: File? = null
|
|
||||||
set(value) {
|
|
||||||
logger.warning("The --resource-cache option is deprecated. Use --temporary-files-patch instead.")
|
|
||||||
field = value
|
|
||||||
temporaryFilesPath = value
|
|
||||||
}
|
|
||||||
|
|
||||||
@CommandLine.Option(
|
@CommandLine.Option(
|
||||||
names = ["-t", "--temporary-files-path"],
|
names = ["-t", "--temporary-files-path"],
|
||||||
description = ["Path to temporary files directory."],
|
description = ["Path to temporary files directory."],
|
||||||
|
Loading…
Reference in New Issue
Block a user