Allow unrecognised command line args
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user