In case license headers have already been generated, but with incorrect content, or in cases where e.g. copyright owner should change (say, in the event of a handover of a project from one owner to another), it would be very useful to be able to rewrite the headers instead of just adding them where they are missing.
I propose a flag -force to enable this - so the default behavior stays the same, but if one passes -force one also gets changes in any file (matching selectors in other parameters, of course) where the current license headers do not match whatever parameters were passed.
If this sounds like something you'd accept, I can whip up a PR, but given that e.g. #60 (which was justified differently, but worked similarly) was closed without merging, I'd like some indication that it'll be accepted before I start working on the feature.
In case license headers have already been generated, but with incorrect content, or in cases where e.g. copyright owner should change (say, in the event of a handover of a project from one owner to another), it would be very useful to be able to rewrite the headers instead of just adding them where they are missing.
I propose a flag
-forceto enable this - so the default behavior stays the same, but if one passes-forceone also gets changes in any file (matching selectors in other parameters, of course) where the current license headers do not match whatever parameters were passed.If this sounds like something you'd accept, I can whip up a PR, but given that e.g. #60 (which was justified differently, but worked similarly) was closed without merging, I'd like some indication that it'll be accepted before I start working on the feature.