From 853a898b4b48a45ea8ad1091ac35a683300be077 Mon Sep 17 00:00:00 2001 From: Alex Abashev Date: Sat, 26 Sep 2026 09:14:47 +0300 Subject: [PATCH] Say in the README that the CLI has no style flag The palantir-to-open table still paired --palantir with --ojf and -ojf, but since 2.98.0.2 the command line formats in the one style without a flag. --ojf and -ojf are only accepted for old scripts: the formatter prints a warning to remove them and formats as usual, while --palantir stops it with exit code 2. The row now says there is no flag, in the words the site's Migrate page uses. Checked with the 2.98.0.4 command line. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 22e6141d2..1bc7b6111 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ Other changes to the formatter's output wait for 3.0. | Gradle plugin IDs | `com.palantir.java-format`, `-idea`, `-spotless`, `-provider` | `dev.openjavaformat.java-format`, `-idea`, `-spotless`, `-provider` | | IntelliJ plugin ID | `palantir-java-format` | `open-java-format` | | Eclipse plugin bundle | `palantir-java-format-eclipse-plugin` | `open-java-format-eclipse-plugin` | -| CLI style flag | `--palantir`, `-palantir` | `--ojf`, `-ojf` | +| CLI style flag | `--palantir`, `-palantir` | none: there is one style | | Formatter style | `PALANTIR` | `OJF` | | Native formatter Gradle property | `palantir.native.formatter` | `openjavaformat.native.formatter` | | Java packages | `com.palantir.javaformat.*` | **unchanged in 2.x** |