google / google/google-java-format
Misleading message for --dry-run with --replace
Ouverte
- Langage dominant
- Java
- Étoiles
- 6.2k
- Forks
- 937
- Merge moyen
- 6 min
- PR mergées (30 j)
- 3
Description
If you specify both --dry-run (or -n) and --replace (or -replace, -r or -i) you get a message stating "cannot use --dry-run and --in-place at the same time".
The problem is that there is no --in-place option. inPlace is however the internal variable name used for --replace. There's two possible fixes:
1. Change the message. This could affect anything which tries to use the message in some kind of script.
2. Add the --in-place option at line 68 in CommandLineOptionsParser.java and related help text. This should not affect anything else.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.