Skip to content

Commit efbe43b

Browse files
committed
chore: prettify the now --apply-parchment-renames cli option
1 parent df6a724 commit efbe43b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Usage: jst [-hV] [--in-format=<inputFormat>] [--libraries-list=<librariesList>]
6060
[--max-queue-depth=<maxQueueDepth>] [--out-format=<outputFormat>]
6161
[--classpath=<addToClasspath>]... [--ignore-prefix=<ignoredPrefixes>]...
6262
[--enable-parchment --parchment-mappings=<mappingsPath> [--[no-]parchment-javadoc]
63-
[--parchment-conflict-prefix=<conflictPrefix>] [--rename]] [--enable-accesstransformers
63+
[--parchment-conflict-prefix=<conflictPrefix>] [--[no-]apply-parchment-renames]] [--enable-accesstransformers
6464
--access-transformer=<atFiles> [--access-transformer=<atFiles>]...
6565
[--access-transformer-validation=<validation>]] [--enable-interface-injection
6666
[--interface-injection-stubs=<stubOut>]
@@ -101,9 +101,9 @@ Plugin - parchment
101101
Whether Parchment javadocs should be applied
102102
--parchment-mappings=<mappingsPath>
103103
The location of the Parchment mappings file
104-
--rename
104+
--[no-]apply-parchment-renames
105105
Whether Parchment renames should be applied,
106-
when set to false only javadocs are applied
106+
when disabled only javadocs are applied, given they are enabled
107107
Plugin - accesstransformers
108108
--access-transformer=<atFiles>
109109

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=io.canvasmc.jst
2-
version=1.0.68+canvas.1-SNAPSHOT
2+
version=1.0.68+canvas.2-SNAPSHOT
33

44
intellij_version=233.11799.300
55
jetbrains_annotations_version=24.1.0

parchment/src/main/java/net/neoforged/jst/parchment/ParchmentTransformer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public class ParchmentTransformer implements SourceTransformer {
2727
public boolean enableJavadoc = true;
2828

2929
@CommandLine.Option(
30-
names = "--rename",
31-
description = "Whether Parchment renames should be applied",
30+
names = "--apply-parchment-renames",
31+
description = "Whether Parchment renames should be applied, when disabled only javadocs are applied, given they are enabled",
3232
negatable = true,
3333
fallbackValue = "true"
3434
)

0 commit comments

Comments
 (0)