Reformatted 'allow-software-mode' cli arg

This commit is contained in:
Collin Smith 2020-11-22 14:17:02 -08:00
parent 7e004917d1
commit f1f89c9731

View File

@ -66,8 +66,11 @@ public class DesktopLauncher {
.hasArg() .hasArg()
.argName("level") .argName("level")
.build()) .build())
.addOption("allowSoftwareMode", false, .addOption(Option
"allows software OpenGL rendering if hardware acceleration is not available") .builder("g") // for graphics
.longOpt("allow-software-mode")
.desc("allows software OpenGL rendering if hardware acceleration is not available")
.build())
.addOption("home", true, .addOption("home", true,
"directory containing D2 MPQ files (defaults to user home directory)") "directory containing D2 MPQ files (defaults to user home directory)")
.addOption("saves", true, .addOption("saves", true,