Allow unrecognised command line args

This commit is contained in:
md_5 2013-09-28 21:00:38 +10:00
parent 8e77cb35ff
commit 891dc87b16
2 changed files with 1 additions and 1 deletions

View File

@ -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 );

View File

@ -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;