nishanths / license

Command line license text generator.
MIT License
663 stars 82 forks source link

Apache license does not include year or author name #18

Closed euclio closed 7 years ago

euclio commented 7 years ago
$ license -name Alice -y 2017 apache-2.0

The output includes Copyright {yyyy} {name of copyright owner} instead of filling in the supplied values.

nishanths commented 7 years ago

The placeholders are intentional: that section of the license explains to readers how to use the license for their own projects. For instance, see the same line in httpd's license: https://github.com/apache/httpd/blob/trunk/LICENSE#L189, which has the Copyright {yyyy} {name of copyright owner} part.

euclio commented 7 years ago

Ah, my mistake! Thanks.