mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-10 17:55:57 +01:00
Use recommended way to terminate if no args are given
This commit is contained in:
@@ -36,7 +36,8 @@ public class Main implements Runnable {
|
||||
|
||||
public static void main(String[] args) {
|
||||
if (args.length == 0) {
|
||||
args = new String[] { "--help" };
|
||||
CommandLine.usage(Main.class, System.out);
|
||||
return;
|
||||
}
|
||||
|
||||
new CommandLine(Main.class)
|
||||
|
||||
Reference in New Issue
Block a user