Allow unrecognised command line args
This commit is contained in:
parent
8e77cb35ff
commit
891dc87b16
@ -29,6 +29,7 @@ public class Bootstrap
|
||||
public static void main(String[] args) throws Exception
|
||||
{
|
||||
OptionParser parser = new OptionParser();
|
||||
parser.allowsUnrecognizedOptions();
|
||||
parser.acceptsAll( list( "v", "version" ) );
|
||||
|
||||
OptionSet options = parser.parse( args );
|
||||
|
@ -1,6 +1,5 @@
|
||||
package net.md_5.bungee;
|
||||
|
||||
import gnu.trove.map.hash.TObjectLongHashMap;
|
||||
import java.net.InetAddress;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
Loading…
Reference in New Issue
Block a user