mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-03 07:12:43 -08:00
Don't crash on unrecognized arguments (#287)
This commit is contained in:
1 parent
9d63191ff3
commit
6f8037f9f9
1 file changed
+1
-1
@@ -31,7 +31,7 @@ public class Main {
|
||||
|
||||
options.addOption(help);
|
||||
try {
|
||||
cmd = parser.parse(options, args);
|
||||
cmd = parser.parse(options, args, true);
|
||||
} catch (ParseException e) {
|
||||
System.out.println(e.getMessage());
|
||||
formatter.printHelp("slimevr.jar", options);
|
||||
|
||||
Reference in new issue
Block a user