your-tools / ruplacer

Find and replace text in source files
BSD 3-Clause "New" or "Revised" License
426 stars 25 forks source link

replacement for `--subvert` is documented as `--preserve-case`, but is actually `--preserve_case` #111

Open elmarsto opened 1 week ago

elmarsto commented 1 week ago

image

image

image

IMO it should be --preserve-case, because it's arguably normative to use kebab-case in flags; however, because I'm currently rewriting a script that used to take --subvert, I shall request that both --preserve-case and --preserve_case be accepted; after all, it would be weird if the case-preserving command did not itself preserve case :)