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()
.argName("level")
.build())
.addOption("allowSoftwareMode", false,
"allows software OpenGL rendering if hardware acceleration is not available")
.addOption(Option
.builder("g") // for graphics
.longOpt("allow-software-mode")
.desc("allows software OpenGL rendering if hardware acceleration is not available")
.build())
.addOption("home", true,
"directory containing D2 MPQ files (defaults to user home directory)")
.addOption("saves", true,