Skip to content

Commit

Permalink
Fix behaviour of --parchment-javadoc parameter (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte authored Jul 4, 2024
1 parent 9fba302 commit 5386551
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5386551

Please sign in to comment.