diff --git a/parchment/src/main/java/net/neoforged/jst/parchment/ParchmentTransformer.java b/parchment/src/main/java/net/neoforged/jst/parchment/ParchmentTransformer.java index 7579d35..9f7f233 100644 --- a/parchment/src/main/java/net/neoforged/jst/parchment/ParchmentTransformer.java +++ b/parchment/src/main/java/net/neoforged/jst/parchment/ParchmentTransformer.java @@ -18,7 +18,12 @@ public class ParchmentTransformer implements SourceTransformer { @CommandLine.Option(names = "--parchment-mappings", required = true, description = "The location of the Parchment mappings file") public Path mappingsPath; - @CommandLine.Option(names = "--parchment-javadoc", description = "Whether Parchment javadocs should be applied", negatable = true) + @CommandLine.Option( + names = "--parchment-javadoc", + description = "Whether Parchment javadocs should be applied", + negatable = true, + fallbackValue = "true" + ) public boolean enableJavadoc = true; @CommandLine.Option(names = "--parchment-conflict-prefix", description = "Apply the prefix specified if a Parchment parameter name conflicts with existing variable names")