Skip to content

Commit

Permalink
Allow case insensitive enum values in launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo authored and losipiuk committed Sep 14, 2020
1 parent 5664993 commit c0edf8e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ public static void main(String[] args)
public static void run(Launcher launcher, String[] args)
{
IFactory factory = createFactory(launcher.getExtensions());
System.exit(new CommandLine(launcher, factory).setResourceBundle(new LauncherBundle()).execute(args));
System.exit(new CommandLine(launcher, factory)
.setCaseInsensitiveEnumValuesAllowed(true)
.setResourceBundle(new LauncherBundle()).execute(args));
}

private static IFactory createFactory(Extensions extensions)
Expand Down

0 comments on commit c0edf8e

Please sign in to comment.