mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 18:15:10 +00:00
#1485 night mode for AS3 p-code docs window
This commit is contained in:
@@ -3369,9 +3369,13 @@ public class CommandLineArgumentParser {
|
||||
String format = null;
|
||||
String out = null;
|
||||
String locale = null;
|
||||
boolean nightMode = false;
|
||||
while (!args.isEmpty()) {
|
||||
String arg = args.pop();
|
||||
switch (arg) {
|
||||
case "-night":
|
||||
nightMode = true;
|
||||
break;
|
||||
case "-out":
|
||||
if (args.isEmpty() || out != null) {
|
||||
badArguments("doc");
|
||||
@@ -3416,7 +3420,7 @@ public class CommandLineArgumentParser {
|
||||
Locale.setDefault(Locale.forLanguageTag(locale));
|
||||
}
|
||||
|
||||
String doc = As3PCodeDocs.getAllInstructionDocs();
|
||||
String doc = As3PCodeDocs.getAllInstructionDocs(nightMode);
|
||||
|
||||
PrintStream outStream;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user