fsfe / reuse-tool

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

Potential confusion with --suppress-deprecation #932

Closed monacofj closed 5 months ago

monacofj commented 6 months ago

When copyright info is found both in the file and in dep5, the output reuse lint suggests the option ---suppress deprecation. Since the message results from using lint command, one may assume that it's a lint option and that the command line should be

$ reuse lint --suppress-deprecation

which does not work.

It took me quite some time until I figured out that it's a reuse option, and the correct command line should be

$ reuse --suppress-deprecation lint

Perhaps it should be obvious but other users may get confused like me. It might be useful to give more detailed guidance in the output message.

carmenbianca commented 5 months ago

Hi @monacofj, thanks for the issue. I opened a PR for this which I will merge soon.