Skip to content

Commit

Permalink
Allow parameter enum values to be given case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
atextor committed Aug 17, 2021
1 parent 259df8e commit e72efb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/src/main/java/de/atextor/owlcli/OWLCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public static void main( final String[] args ) {
final CommandLine cmd = commands.foldLeft( new OWLCLI().commandLine, CommandLine::addSubcommand )
.setParameterExceptionHandler( PARAMETER_EXCEPTION_HANDLER )
.setExecutionExceptionHandler( EXECUTION_EXCEPTION_HANDLER )
.setCaseInsensitiveEnumValuesAllowed( true )
.setExecutionStrategy( LoggingMixin::executionStrategy );
commands.forEach( command -> command.registerTypeConverters( cmd ) );
System.exit( cmd.execute( args ) );
Expand Down

0 comments on commit e72efb3

Please sign in to comment.