Handle empty input

This commit is contained in:
RatzzFatzz
2025-02-04 17:57:34 +01:00
parent 21f244ff3f
commit d98c4cd49e

View File

@@ -61,6 +61,9 @@ public class Main implements Runnable {
} }
public static void main(String[] args) { public static void main(String[] args) {
if (args.length == 0) {
args = new String[] { "--help" };
}
new CommandLine(Main.class).execute(args); new CommandLine(Main.class).execute(args);
} }
} }