Create: Above and Beyond

Create: Above and Beyond

2M Downloads

installer jar with --help argument says --installserver when it's just --install

laralove143 opened this issue ยท 0 comments

commented

when i run java -jar forge-1.16.5-36.2.20-installer.jar --help it prints

JVM info: Private Build - 1.8.0_312 - 25.312-b07
java.net.preferIPv4Stack=true
Option                  Description                                           
------                  -----------                                           
--debug                 Run in debug mode -- don't delete any files           
--extract [File]        Extract the contained jar file to the specified       
                          directory (default: .)                              
-h, --help              Help with this installer                              
--installServer [File]  Install a server to the current directory (default: .)
--mirror <URL>          Use a specific mirror URL                             
--offline               Don't attempt any network calls                       

but running java -jar forge-1.16.5-36.2.20-installer.jar --installserver prints

JVM info: Private Build - 1.8.0_312 - 25.312-b07
java.net.preferIPv4Stack=true
Exception in thread "main" 
joptsimple.UnrecognizedOptionException: installserver is not a recognized option
        at joptsimple.OptionException.unrecognizedOption(OptionException.java:108)
        at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510)
        at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56)
        at joptsimple.OptionParser.parse(OptionParser.java:396)
        at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:89)

while java -jar forge-1.16.5-36.2.20-installer.jar --install works as expected, so the help text should be updated