Change standard output to error output for usage message in Main class

This commit is contained in:
2025-02-11 10:43:36 +01:00
parent b6ef68eca1
commit 1a2f8dd4c0

View File

@@ -85,7 +85,7 @@ public class Main {
try {
var uri = Main.class.getProtectionDomain().getCodeSource().getLocation().toURI();
var name = new File(uri).getName();
System.out.println(message);
System.err.println(message);
System.out.println("Usage: java -jar " + name + ".jar [simulation|plot|net] [args]");
System.out.println("simulation args: -net <net> [-csv <csv>] [-runs <runs>] [-seed <seed>]"
+ "[-p] [-end <end>] [-i <indices>]");