Shade and relocate Commons CLI, update to 1.5.0

This commit is contained in:
comp500
2022-01-21 00:36:33 +00:00
parent aff921f67e
commit 7d6346c088
3 changed files with 9 additions and 16 deletions

View File

@@ -8,8 +8,6 @@ public class RequiresBootstrap {
public static void main(String[] args) {
// Very small CLI implementation, because Commons CLI complains on unexpected
// options
// Also so that Commons CLI can be excluded from the shaded JAR, as it is
// included in the bootstrap
if (Arrays.stream(args).map(str -> {
if (str == null) return "";
if (str.startsWith("--")) {