mirror of
https://github.com/RatzzFatzz/MKVAudioSubtitleChanger.git
synced 2026-02-11 02:05:56 +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) {
|
public static void main(String[] args) {
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
args = new String[] { "--help" };
|
CommandLine.usage(Main.class, System.out);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
new CommandLine(Main.class)
|
new CommandLine(Main.class)
|
||||||
|
|||||||
Reference in New Issue
Block a user