This commit is contained in:
rusefillc 2022-09-16 16:20:58 -04:00
parent da150a55c8
commit 0542bd8be6
1 changed files with 11 additions and 1 deletions

View File

@ -25,7 +25,17 @@ public class TrcToMlq {
String outputFolder = args[2]; String outputFolder = args[2];
HandleFolder.doJob(dbcFileName, inputFolder, outputFolder); HandleFolder.doJob(dbcFileName, inputFolder, outputFolder);
} else if (args.length != 2) { } else if (args.length != 2) {
System.err.println("Two arguments expected - DBC file name and TRC file name"); System.err.println("Two or three arguments expected:");
System.err.println(" either");
System.err.println("fileName.DBC traceFile.name");
System.err.println(" it would output to gauges.mlg");
System.err.println(" or");
System.err.println("fileName.DBC tracesInputFolder outputFolder");
System.err.println("");
System.err.println("");
System.err.println("By default PCAN format is used");
System.err.println("For can hacker format:");
System.err.println(" java -DTRACE_READER=CANHACKER");
System.exit(-1); System.exit(-1);
} else { } else {
String dbcFileName = args[0]; String dbcFileName = args[0];