Repository navigation
Commit 7cfa88b
Fix the flag name in the error for using --dry-run with --replace.
The error said `--in-place`, which isn't a `google-java-format` flag; the in-place flags are `-i`, `-r`, `-replace` and `--replace`.
Fixes #1094
PiperOrigin-RevId: 10097693481 parent 044bbe6 commit 7cfa88b
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- core/src
- main/java/com/google/googlejavaformat/java
- test/java/com/google/googlejavaformat/java
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments