mirror of
https://github.com/revanced/smali.git
synced 2025-05-23 18:16:23 +02:00
baksmali: Reverse pair ordering in resource-id-files option
This commit is contained in:
parent
eb0b009971
commit
d607960cff
@ -91,7 +91,7 @@ public class baksmaliOptions {
|
||||
public void setResourceIdFiles(String resourceIdFiles) {
|
||||
for (String resourceIdFile: resourceIdFiles.split(":")) {
|
||||
String[] entry = resourceIdFile.split("=");
|
||||
resourceIdFileEntries.put(entry[0], entry[1]);
|
||||
resourceIdFileEntries.put(entry[1], entry[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -441,9 +441,9 @@ public class main {
|
||||
.create("K");
|
||||
|
||||
Option resourceIdFilesOption = OptionBuilder.withLongOpt("resource-id-files")
|
||||
.withDescription("the resource ID files to use, for analysis. A colon-separated list of file=prefix " +
|
||||
"pairs. For example res/values/public.xml=R:" +
|
||||
"$ANDROID_HOME/platforms/android-19/data/res/values/public.xml=android.R")
|
||||
.withDescription("the resource ID files to use, for analysis. A colon-separated list of prefix=file " +
|
||||
"pairs. For example R=res/values/public.xml:" +
|
||||
"android.R=$ANDROID_HOME/platforms/android-19/data/res/values/public.xml")
|
||||
.hasArg()
|
||||
.withArgName("FILES")
|
||||
.create("R");
|
||||
|
Loading…
x
Reference in New Issue
Block a user