fsfe / reuse-tool

reuse is a tool for compliance with the REUSE recommendations.
https://reuse.software
376 stars 144 forks source link

annotate: Rename `--copyright-style` to `--copyright-prefix` #973

Closed carmenbianca closed 1 month ago

carmenbianca commented 3 months ago

This is less confusing when compared to --style.

--copyright-style must still be usable. argparse.SUPPRESS can be used to hide it from reuse annotate --help.

Elsewhere in the code, the word style (when related to --copyright-style) should be renamed prefix.

See also #947 for a bigger improvement to how copyright statements are handled. Not necessarily relevant to this issue, though.

kbroch-rivosinc commented 1 month ago

I'll put PR in for this. Similar to #1014

carmenbianca commented 1 month ago

Closed by #1016