mbrukman / autogen

Automatically generate boilerplate license comments.
Apache License 2.0
98 stars 27 forks source link

Make separator comment line optional. #19

Closed mbrukman closed 7 years ago

mbrukman commented 7 years ago

This is a backwards-incompatible change: the default behavior is now to leave a blank line between the header license comment and the top-level file comment, instead of a line of comment characters.

This change provides the following benefits:

To get the original behavior, this change provides the (optional) --separator flag, whose output matches the previous behavior. Existing tests were updated to match the new behavior; additional tests were added to demonstrate the behavior using the --separator flag.

Fixes issue #12 and #16.