File tree Expand file tree Collapse file tree
codebook-cli/src/main/java/io/papermc/codebook/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,8 @@ static class InputFileOptions {
270270
271271 @ CommandLine .Option (
272272 names = {"-c" , "--input-classpath" },
273- split = ":" ,
273+ split = ":(?!\\ \\ )" ,
274+ splitSynopsisLabel = ":" ,
274275 paramLabel = "<jar>" ,
275276 description =
276277 "Additional classpath jars, provided in standard classpath format (use : to separate jars on the path)." )
@@ -309,6 +310,12 @@ static class InputFileOptions {
309310 defaultValue = "false" )
310311 private boolean verbose ;
311312
313+ @ CommandLine .Option (
314+ names = {"--temp-dir" },
315+ paramLabel = "<temp-dir>" ,
316+ description = "The temp dir to work in." )
317+ private @ Nullable Path tempDir ;
318+
312319 public Main () {}
313320
314321 public static void main (final String [] args ) {
@@ -462,6 +469,7 @@ private CodeBookContext createContext() {
462469 }
463470
464471 return CodeBookContext .builder ()
472+ .tempDir (tempDir )
465473 .remapperJar (remapper )
466474 .mappings (mappings )
467475 .paramMappings (paramMappings )
Original file line number Diff line number Diff line change 11group = io.papermc.codebook
2- version = 1.0.9
2+ version = 1.0.10
You can’t perform that action at this time.
0 commit comments